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

Method ResolveQueryData

source/d3d12/d3d12_command_list.cpp:899–907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

897 _orig->EndQuery(pQueryHeap, Type, Index);
898}
899void STDMETHODCALLTYPE D3D12GraphicsCommandList::ResolveQueryData(ID3D12QueryHeap *pQueryHeap, D3D12_QUERY_TYPE Type, UINT StartIndex, UINT NumQueries, ID3D12Resource *pDestinationBuffer, UINT64 AlignedDestinationBufferOffset)
900{
901#if RESHADE_ADDON >= 2
902 if (const reshade::api::query_type query_type = reshade::d3d12::convert_query_type(Type);
903 reshade::invoke_addon_event<reshade::addon_event::copy_query_heap_results>(this, to_handle(pQueryHeap), query_type, StartIndex, NumQueries, to_handle(pDestinationBuffer), AlignedDestinationBufferOffset, reshade::d3d12::get_query_size(query_type).first))
904 return;
905#endif
906 _orig->ResolveQueryData(pQueryHeap, Type, StartIndex, NumQueries, pDestinationBuffer, AlignedDestinationBufferOffset);
907}
908void STDMETHODCALLTYPE D3D12GraphicsCommandList::SetPredication(ID3D12Resource *pBuffer, UINT64 AlignedBufferOffset, D3D12_PREDICATION_OP Operation)
909{
910 _orig->SetPredication(pBuffer, AlignedBufferOffset, Operation);

Callers 2

end_queryMethod · 0.80

Calls 1

to_handleFunction · 0.70

Tested by

no test coverage detected