22 Nov
2023
22 Nov
'23
7:13 p.m.
--- I don't see a method to wait for a fence, at least not without having a command queue. A suggestion I found online goes along the lines of: if (fence->GetCompletedValue != expected) { HANDLE ev = CreateEvent(...); fence->SetEventOnCompletion(expected, ev); WaitForSingleObject(ev, INFINITE); CloseHandle(ev); } Which I could write, but would be untested dead code as long as the other method is a stub. So busy waiting and writing one fixme every time we busy wait seems like a better choice for now. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/488