Skip to content

Instantly share code, notes, and snippets.

@yorung
Created July 23, 2016 08:50
Show Gist options
  • Save yorung/46ee8351e65ba26102e46a46730be154 to your computer and use it in GitHub Desktop.
Save yorung/46ee8351e65ba26102e46a46730be154 to your computer and use it in GitHub Desktop.
[DX12] Record fenceValue to both command queue and frameResource.
FrameResources& res = frameResources[frameIndex];
commandQueue->Signal(fence.Get(), res.fenceValueToGuard = fenceValue++);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment