|
|
@ -156,8 +156,7 @@ public: |
|
|
|
|
|
|
|
|
ReserveHostQuery(); |
|
|
ReserveHostQuery(); |
|
|
|
|
|
|
|
|
scheduler.Record([query_pool = current_query_pool, |
|
|
|
|
|
query_index = current_bank_slot](vk::CommandBuffer cmdbuf) { |
|
|
|
|
|
|
|
|
scheduler.Record([query_pool = current_query_pool, query_index = current_bank_slot](vk::CommandBuffer cmdbuf) { |
|
|
const bool use_precise = Settings::IsGPULevelHigh(); |
|
|
const bool use_precise = Settings::IsGPULevelHigh(); |
|
|
cmdbuf.BeginQuery(query_pool, static_cast<u32>(query_index), |
|
|
cmdbuf.BeginQuery(query_pool, static_cast<u32>(query_index), |
|
|
use_precise ? VK_QUERY_CONTROL_PRECISE_BIT : 0); |
|
|
use_precise ? VK_QUERY_CONTROL_PRECISE_BIT : 0); |
|
|
|