| 549 | #endif |
| 550 | } |
| 551 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::SetComputeRootDescriptorTable(UINT RootParameterIndex, D3D12_GPU_DESCRIPTOR_HANDLE BaseDescriptor) |
| 552 | { |
| 553 | _orig->SetComputeRootDescriptorTable(RootParameterIndex, BaseDescriptor); |
| 554 | |
| 555 | #if RESHADE_ADDON >= 2 |
| 556 | reshade::invoke_addon_event<reshade::addon_event::bind_descriptor_tables>( |
| 557 | this, |
| 558 | reshade::api::shader_stage::all_compute | reshade::api::shader_stage::all_ray_tracing, |
| 559 | to_handle(_current_root_signature[1]), |
| 560 | RootParameterIndex, |
| 561 | 1, reinterpret_cast<const reshade::api::descriptor_table *>(&BaseDescriptor)); |
| 562 | #endif |
| 563 | } |
| 564 | void STDMETHODCALLTYPE D3D12GraphicsCommandList::SetGraphicsRootDescriptorTable(UINT RootParameterIndex, D3D12_GPU_DESCRIPTOR_HANDLE BaseDescriptor) |
| 565 | { |
| 566 | _orig->SetGraphicsRootDescriptorTable(RootParameterIndex, BaseDescriptor); |
no test coverage detected