HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.75k stars 184 forks source link

Fix some nagging low_latency2 issues. #1944

Closed HansKristian-Work closed 3 months ago

HansKristian-Work commented 3 months ago

The heuristic here is pretty simple, but works well in practice. Query the blit timeline semaphore if number of requested submits is significantly larger than the completed counter, it means the GPU queue is deep.

There are some scenarios where we trigger latency limiter ourselves: