MCPcopy Create free account
hub / github.com/crosire/reshade / Dispatch

Method Dispatch

source/d3d12/d3d12_command_list.cpp:242–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 _orig->DrawIndexedInstanced(IndexCountPerInstance, InstanceCount, StartIndexLocation, BaseVertexLocation, StartInstanceLocation);
241}
242void STDMETHODCALLTYPE D3D12GraphicsCommandList::Dispatch(UINT ThreadGroupCountX, UINT ThreadGroupCountY, UINT ThreadGroupCountZ)
243{
244#if RESHADE_ADDON
245 if (reshade::invoke_addon_event<reshade::addon_event::dispatch>(this, ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ))
246 return;
247#endif
248 _orig->Dispatch(ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ);
249}
250void STDMETHODCALLTYPE D3D12GraphicsCommandList::CopyBufferRegion(ID3D12Resource *pDstBuffer, UINT64 DstOffset, ID3D12Resource *pSrcBuffer, UINT64 SrcOffset, UINT64 NumBytes)
251{
252#if RESHADE_ADDON >= 2

Callers 2

dispatchMethod · 0.45
generate_mipmapsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected