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

Method DispatchIndirect

source/d3d11/d3d11_device_context.cpp:561–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559 _orig->Dispatch(ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ);
560}
561void STDMETHODCALLTYPE D3D11DeviceContext::DispatchIndirect(ID3D11Buffer *pBufferForArgs, UINT AlignedByteOffsetForArgs)
562{
563#if RESHADE_ADDON
564 if (reshade::invoke_addon_event<reshade::addon_event::draw_or_dispatch_indirect>(this, reshade::api::indirect_command::dispatch, to_handle(pBufferForArgs), AlignedByteOffsetForArgs, 1, 0))
565 return;
566#endif
567 _orig->DispatchIndirect(pBufferForArgs, AlignedByteOffsetForArgs);
568}
569void STDMETHODCALLTYPE D3D11DeviceContext::RSSetState(ID3D11RasterizerState *pRasterizerState)
570{
571 _orig->RSSetState(pRasterizerState);

Callers 1

Calls 1

to_handleFunction · 0.70

Tested by

no test coverage detected