Created
July 23, 2016 08:35
-
-
Save yorung/1dc7dc690806125f79aa6783af04655d to your computer and use it in GitHub Desktop.
[DX12] Wait GPU commands finish that committed 2 frames before.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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