summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2021-10-17 03:41:54 +0200
committerGitHub <noreply@github.com>2021-10-17 03:41:54 +0200
commit3791c7ca82aafa8e007074dcc2059ff4ba4de22d (patch)
treeb70ed6e2d0f75589532a0e6c197b970bf328e20a /src/video_core/renderer_vulkan
parentMerge pull request #7127 from FernandoS27/i-saw-a-wabbit (diff)
parentShader Compiler: avoid overflowed indices on indixed samplers. (diff)
downloadyuzu-3791c7ca82aafa8e007074dcc2059ff4ba4de22d.tar
yuzu-3791c7ca82aafa8e007074dcc2059ff4ba4de22d.tar.gz
yuzu-3791c7ca82aafa8e007074dcc2059ff4ba4de22d.tar.bz2
yuzu-3791c7ca82aafa8e007074dcc2059ff4ba4de22d.tar.lz
yuzu-3791c7ca82aafa8e007074dcc2059ff4ba4de22d.tar.xz
yuzu-3791c7ca82aafa8e007074dcc2059ff4ba4de22d.tar.zst
yuzu-3791c7ca82aafa8e007074dcc2059ff4ba4de22d.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_query_cache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_query_cache.cpp b/src/video_core/renderer_vulkan/vk_query_cache.cpp
index c9cb32d71..259cba156 100644
--- a/src/video_core/renderer_vulkan/vk_query_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_query_cache.cpp
@@ -117,7 +117,8 @@ u64 HostCounter::BlockingQuery() const {
cache.GetScheduler().Wait(tick);
u64 data;
const VkResult query_result = cache.GetDevice().GetLogical().GetQueryResults(
- query.first, query.second, 1, sizeof(data), &data, sizeof(data), VK_QUERY_RESULT_64_BIT);
+ query.first, query.second, 1, sizeof(data), &data, sizeof(data),
+ VK_QUERY_RESULT_64_BIT | VK_QUERY_RESULT_WAIT_BIT);
switch (query_result) {
case VK_SUCCESS: