1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-12 22:54:15 +01:00
Richard Yao 14560600a9 Micro-optimize locking in fences
When a fence has been missed, we can avoid locking *most* of the time
via the double-checked locking pattern. We still lock before a second
check in case the scheduler caused us to miss the fence. If the
scheduler did cause us to miss the fence, we can drop the lock prior to
executing the callback function, as a second micro-optimization.

Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
2024-01-15 12:42:19 +01:00
..
2022-02-19 17:36:39 +01:00
2024-01-15 12:42:19 +01:00
2022-09-13 20:11:17 +01:00