| 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 |
| 870 | ViewCPUHandle = _device_impl->convert_to_original_cpu_descriptor_handle(ViewCPUHandle); |
| 871 | #endif |
| 872 | |
| 873 | #if RESHADE_ADDON |
| 874 | if (reshade::invoke_addon_event<reshade::addon_event::clear_unordered_access_view_float>(this, to_handle(ViewCPUHandle), Values, NumRects, reinterpret_cast<const reshade::api::rect *>(pRects))) |
| 875 | return; |
| 876 | #endif |
| 877 | _orig->ClearUnorderedAccessViewFloat(ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); |
| 878 | } |
| 879 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::DiscardResource(ID3D12Resource *pResource, const D3D12_DISCARD_REGION *pRegion) |
| 880 | { |
| 881 | _orig->DiscardResource(pResource, pRegion); |
no test coverage detected