Fix D3D12 resource state transitions barriers

This commit is contained in:
Wojtek Figat
2021-06-08 14:12:31 +02:00
parent ab55c145f1
commit 9d9ecb3ba8
4 changed files with 78 additions and 56 deletions

View File

@@ -73,6 +73,7 @@ public:
public:
bool ReadOnlyDepthView = false;
void SetRTV(D3D12_RENDER_TARGET_VIEW_DESC& rtvDesc);
void SetSRV(D3D12_SHADER_RESOURCE_VIEW_DESC& srvDesc);
void SetDSV(D3D12_DEPTH_STENCIL_VIEW_DESC& dsvDesc);