[PATCH 5/5] wined3d: Get output from swapchain state.