| 853 | _orig->ClearRenderTargetView(RenderTargetView, ColorRGBA, NumRects, pRects); |
| 854 | } |
| 855 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource *pResource, const UINT Values[4], UINT NumRects, const D3D12_RECT *pRects) |
| 856 | { |
| 857 | #if RESHADE_ADDON >= 2 |
| 858 | ViewCPUHandle = _device_impl->convert_to_original_cpu_descriptor_handle(ViewCPUHandle); |
| 859 | #endif |
| 860 | |
| 861 | #if RESHADE_ADDON |
| 862 | if (reshade::invoke_addon_event<reshade::addon_event::clear_unordered_access_view_uint>(this, to_handle(ViewCPUHandle), Values, NumRects, reinterpret_cast<const reshade::api::rect *>(pRects))) |
| 863 | return; |
| 864 | #endif |
| 865 | _orig->ClearUnorderedAccessViewUint(ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); |
| 866 | } |
| 867 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource *pResource, const FLOAT Values[4], UINT NumRects, const D3D12_RECT *pRects) |
| 868 | { |
| 869 | #if RESHADE_ADDON >= 2 |
no test coverage detected