You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As my previous issues, this comes from the vkd3d test suite. I converted it to pure Vulkan and made it as minimal as possible. The Vulkan program doesn't hit any Metal and Vulkan validation error and seems correct to me. It should simply make four timestamp query one after the other and print the results. The problem is that on my M3 Max MacBook Pro (Sonoma 14.6.1) sometimes the last few queries are zero. Typical results will look like this:
The feeling I get from these results is that there is some race between filling the buffer with the query results and copying it to the CPU memory. But at the Vulkan level the queue submission with the query commands and the queue submission reading the data are separated by a full wait for idle device, so I don't know what I might be missing.
As my previous issues, this comes from the vkd3d test suite. I converted it to pure Vulkan and made it as minimal as possible. The Vulkan program doesn't hit any Metal and Vulkan validation error and seems correct to me. It should simply make four timestamp query one after the other and print the results. The problem is that on my M3 Max MacBook Pro (Sonoma 14.6.1) sometimes the last few queries are zero. Typical results will look like this:
The feeling I get from these results is that there is some race between filling the buffer with the query results and copying it to the CPU memory. But at the Vulkan level the queue submission with the query commands and the queue submission reading the data are separated by a full wait for idle device, so I don't know what I might be missing.
Test program source code
The text was updated successfully, but these errors were encountered: