[D3D12] Fixes/cleanup for render targets and barriers

This commit is contained in:
Triang3l
2022-04-02 22:44:10 +03:00
parent 0f3207d019
commit c4eae232f1
6 changed files with 131 additions and 92 deletions

View File

@@ -142,6 +142,7 @@ class D3D12RenderTargetCache final : public RenderTargetCache {
private:
enum class EdramBufferModificationStatus {
// The values are ordered by how strong the barrier conditions are.
// No uncommitted ROV/UAV writes.
kUnmodified,
// Need to commit before the next ROV usage with overlap.