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

Method SetGraphicsRootDescriptorTable

source/d3d12/d3d12_command_list.cpp:564–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562#endif
563}
564void 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}
577void STDMETHODCALLTYPE D3D12GraphicsCommandList::SetComputeRoot32BitConstant(UINT RootParameterIndex, UINT SrcData, UINT DestOffsetIn32BitValues)
578{
579 _orig->SetComputeRoot32BitConstant(RootParameterIndex, SrcData, DestOffsetIn32BitValues);

Callers 2

push_descriptorsMethod · 0.80

Calls 1

to_handleFunction · 0.70

Tested by

no test coverage detected