Skip to content
Snippets Groups Projects

vkd3d: Improve the EnqueueMakeResident stub

Merged 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading