Skip to content

Instantly share code, notes, and snippets.

@yorung
Created July 23, 2016 08:35
[DX12] Wait GPU commands finish that committed 2 frames before.
frameIndex = swapChain->GetCurrentBackBufferIndex();
FrameResources& res = frameResources[frameIndex];
WaitFenceValue(fence, res.fenceValueToGuard);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment