Browse Source

Revert "adjusting to query reset pool"

This reverts commit 8da4fdd818.
lizzie/gidofix7545
lizzie 2 days ago
parent
commit
cba7c5afc8
  1. 3
      src/video_core/renderer_vulkan/vk_query_cache.cpp

3
src/video_core/renderer_vulkan/vk_query_cache.cpp

@ -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);

Loading…
Cancel
Save