[PATCH 2/2] wined3d: Avoid waiting for a command buffer to finish executing to read off its queries.