Skip to content

vkd3d: Improve the EnqueueMakeResident stub

Stefan Dösinger requested to merge stefan/vkd3d:d2r into master

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.

Merge request reports

Loading