Fix missing UAV barriers on D3D12

This commit is contained in:
Wojtek Figat
2021-06-07 13:09:24 +02:00
parent 39698c7694
commit 3872d74bd2
2 changed files with 34 additions and 15 deletions

View File

@@ -102,6 +102,11 @@ public:
/// <param name="subresourceIndex">The index of the subresource.</param>
void AddTransitionBarrier(ResourceOwnerDX12* resource, const D3D12_RESOURCE_STATES before, const D3D12_RESOURCE_STATES after, const int32 subresourceIndex);
/// <summary>
/// Adds the UAV barrier. Supports batching barriers.
/// </summary>
void AddUAVBarrier();
/// <summary>
/// Set DirectX 12 resource state using resource barrier
/// </summary>