Publish program output in reader-safe state
This commit is contained in:
parent
5874c9bc12
commit
2490e8ccc8
3 changed files with 7 additions and 0 deletions
|
|
@ -1430,6 +1430,7 @@ public sealed class D3D12Renderer : IAquariumRenderer
|
|||
backBuffer.Transition(activeCommandList, ResourceStates.CopySource);
|
||||
programOutputTexture.Transition(activeCommandList, ResourceStates.CopyDest);
|
||||
activeCommandList.CopyResource(programOutputTexture.Resource, backBuffer.Resource);
|
||||
programOutputTexture.Transition(activeCommandList, ResourceStates.Common);
|
||||
}
|
||||
|
||||
private void DisposeProgramOutputTexture()
|
||||
|
|
|
|||
Loading…
Reference in a new issue