mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-03 05:11:06 +00:00
Unwrap CPU descriptor handle to ClearUAV (Thx to @galop1n 7f0cb2841c)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user