Created
July 23, 2016 08:50
-
-
Save yorung/46ee8351e65ba26102e46a46730be154 to your computer and use it in GitHub Desktop.
[DX12] Record fenceValue to both command queue and frameResource.
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
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