From 92404bd015074feeb3db59096036f8c2c890bc35 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 16 Sep 2016 13:52:56 +0200 Subject: [PATCH] Unwrap CPU descriptor handle to ClearUAV (Thx to @galop1n 7f0cb2841c924) --- renderdoc/driver/d3d12/d3d12_command_list_wrap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdoc/driver/d3d12/d3d12_command_list_wrap.cpp b/renderdoc/driver/d3d12/d3d12_command_list_wrap.cpp index 0ff8a63ce..6829735ad 100644 --- a/renderdoc/driver/d3d12/d3d12_command_list_wrap.cpp +++ b/renderdoc/driver/d3d12/d3d12_command_list_wrap.cpp @@ -1778,7 +1778,7 @@ void WrappedID3D12GraphicsCommandList::ClearUnorderedAccessViewUint( ID3D12Resource *pResource, const UINT Values[4], UINT NumRects, const D3D12_RECT *pRects) { D3D12NOTIMP(__PRETTY_FUNCTION_SIGNATURE__); - m_pReal->ClearUnorderedAccessViewUint(Unwrap(ViewGPUHandleInCurrentHeap), ViewCPUHandle, + m_pReal->ClearUnorderedAccessViewUint(Unwrap(ViewGPUHandleInCurrentHeap), Unwrap(ViewCPUHandle), Unwrap(pResource), Values, NumRects, pRects); } @@ -1787,7 +1787,7 @@ void WrappedID3D12GraphicsCommandList::ClearUnorderedAccessViewFloat( ID3D12Resource *pResource, const FLOAT Values[4], UINT NumRects, const D3D12_RECT *pRects) { D3D12NOTIMP(__PRETTY_FUNCTION_SIGNATURE__); - m_pReal->ClearUnorderedAccessViewFloat(Unwrap(ViewGPUHandleInCurrentHeap), ViewCPUHandle, + m_pReal->ClearUnorderedAccessViewFloat(Unwrap(ViewGPUHandleInCurrentHeap), Unwrap(ViewCPUHandle), Unwrap(pResource), Values, NumRects, pRects); }