diff options
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_query_cache.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_query_cache.cpp b/src/video_core/renderer_vulkan/vk_query_cache.cpp index 66c03bf17..078777cdd 100644 --- a/src/video_core/renderer_vulkan/vk_query_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_query_cache.cpp | |||
| @@ -211,6 +211,13 @@ public: | |||
| 211 | return; | 211 | return; |
| 212 | } | 212 | } |
| 213 | PauseCounter(); | 213 | PauseCounter(); |
| 214 | const auto driver_id = device.GetDriverID(); | ||
| 215 | if (driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY || | ||
| 216 | driver_id == VK_DRIVER_ID_ARM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP) { | ||
| 217 | pending_sync.clear(); | ||
| 218 | sync_values_stash.clear(); | ||
| 219 | return; | ||
| 220 | } | ||
| 214 | sync_values_stash.clear(); | 221 | sync_values_stash.clear(); |
| 215 | sync_values_stash.emplace_back(); | 222 | sync_values_stash.emplace_back(); |
| 216 | std::vector<HostSyncValues>* sync_values = &sync_values_stash.back(); | 223 | std::vector<HostSyncValues>* sync_values = &sync_values_stash.back(); |
| @@ -1378,6 +1385,12 @@ bool QueryCacheRuntime::HostConditionalRenderingCompareValues(VideoCommon::Looku | |||
| 1378 | return true; | 1385 | return true; |
| 1379 | } | 1386 | } |
| 1380 | 1387 | ||
| 1388 | auto driver_id = impl->device.GetDriverID(); | ||
| 1389 | if (driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY || | ||
| 1390 | driver_id == VK_DRIVER_ID_ARM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP) { | ||
| 1391 | return true; | ||
| 1392 | } | ||
| 1393 | |||
| 1381 | for (size_t i = 0; i < 2; i++) { | 1394 | for (size_t i = 0; i < 2; i++) { |
| 1382 | is_null[i] = !is_in_ac[i] && check_value(objects[i]->address); | 1395 | is_null[i] = !is_in_ac[i] && check_value(objects[i]->address); |
| 1383 | } | 1396 | } |