April 21, 2026
5:55 p.m.
On Tue Apr 21 13:10:25 2026 +0000, Giovanni Mascellani wrote:
This didn't have `D3D12_FENCE_FLAG_SHARED` before, now it has. Can you elaborate on why? I believe it was a performance vs. correctness tradeoff. To my understanding D3D12_FENCE_FLAG_SHARED is correct, but Paul told me that creating a fence with this flag would be quite expensive (and it is a bit of a niche use case), and so I dropped it - but with the freelist (which came later), fence creation would be cached. It probably doesn't make much sense to change it in this commit in hindsight, perhaps we could also squash the freelist commit and the additional test commit into the initial implementation.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9777#note_137237