| 1190 | } |
| 1191 | |
| 1192 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::DispatchMesh(UINT ThreadGroupCountX, UINT ThreadGroupCountY, UINT ThreadGroupCountZ) |
| 1193 | { |
| 1194 | assert(_interface_version >= 6); |
| 1195 | |
| 1196 | #if RESHADE_ADDON |
| 1197 | if (reshade::invoke_addon_event<reshade::addon_event::dispatch_mesh>(this, ThreadGroupCountX, ThreadGroupCountX, ThreadGroupCountZ)) |
| 1198 | return; |
| 1199 | #endif |
| 1200 | |
| 1201 | static_cast<ID3D12GraphicsCommandList6 *>(_orig)->DispatchMesh(ThreadGroupCountX, ThreadGroupCountY, ThreadGroupCountZ); |
| 1202 | } |
| 1203 | |
| 1204 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::Barrier(UINT32 NumBarrierGroups, const D3D12_BARRIER_GROUP *pBarrierGroups) |
| 1205 | { |