diff --git a/Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/SampleCore/util/GpuResourceStateTracker.h b/Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/SampleCore/util/GpuResourceStateTracker.h index fbac0142e..c6092ccee 100644 --- a/Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/SampleCore/util/GpuResourceStateTracker.h +++ b/Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/SampleCore/util/GpuResourceStateTracker.h @@ -15,7 +15,7 @@ class GpuResourceStateTracker { public: - void Bind(Microsoft::WRL::ComPtr commandList) { m_commandList = commandList; } + void Bind(Microsoft::WRL::ComPtr commandList) { m_commandList = commandList; } void Reset(); void TransitionResource(GpuResource* Resource, D3D12_RESOURCE_STATES NewState, bool FlushImmediate = false); @@ -25,7 +25,7 @@ class GpuResourceStateTracker protected: - Microsoft::WRL::ComPtr m_commandList; + Microsoft::WRL::ComPtr m_commandList; static const UINT c_MaxNumBarriers = 16; D3D12_RESOURCE_BARRIER m_ResourceBarrierBuffer[c_MaxNumBarriers]; UINT m_NumBarriersToFlush = 0;