| 562 | #endif |
| 563 | } |
| 564 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::SetGraphicsRootDescriptorTable(UINT RootParameterIndex, D3D12_GPU_DESCRIPTOR_HANDLE BaseDescriptor) |
| 565 | { |
| 566 | _orig->SetGraphicsRootDescriptorTable(RootParameterIndex, BaseDescriptor); |
| 567 | |
| 568 | #if RESHADE_ADDON >= 2 |
| 569 | reshade::invoke_addon_event<reshade::addon_event::bind_descriptor_tables>( |
| 570 | this, |
| 571 | reshade::api::shader_stage::all_graphics, |
| 572 | to_handle(_current_root_signature[0]), |
| 573 | RootParameterIndex, |
| 574 | 1, reinterpret_cast<const reshade::api::descriptor_table *>(&BaseDescriptor)); |
| 575 | #endif |
| 576 | } |
| 577 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::SetComputeRoot32BitConstant(UINT RootParameterIndex, UINT SrcData, UINT DestOffsetIn32BitValues) |
| 578 | { |
| 579 | _orig->SetComputeRoot32BitConstant(RootParameterIndex, SrcData, DestOffsetIn32BitValues); |
no test coverage detected