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

Method SetComputeRootDescriptorTable

source/d3d12/d3d12_command_list.cpp:551–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549#endif
550}
551void 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}
564void STDMETHODCALLTYPE D3D12GraphicsCommandList::SetGraphicsRootDescriptorTable(UINT RootParameterIndex, D3D12_GPU_DESCRIPTOR_HANDLE BaseDescriptor)
565{
566 _orig->SetGraphicsRootDescriptorTable(RootParameterIndex, BaseDescriptor);

Callers 3

push_descriptorsMethod · 0.80
generate_mipmapsMethod · 0.80

Calls 1

to_handleFunction · 0.70

Tested by

no test coverage detected