mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
VideoBackends:D3D12: Set query type
This commit is contained in:
@ -71,6 +71,7 @@ void PerfQuery::EnableQuery(PerfQueryGroup type)
|
||||
ActiveQuery& entry = m_query_buffer[m_query_next_pos];
|
||||
ASSERT(!entry.has_value && !entry.resolved);
|
||||
entry.has_value = true;
|
||||
entry.query_type = type;
|
||||
|
||||
g_dx_context->GetCommandList()->BeginQuery(m_query_heap.Get(), D3D12_QUERY_TYPE_OCCLUSION,
|
||||
m_query_next_pos);
|
||||
|
Reference in New Issue
Block a user