diff options
| -rw-r--r-- | src/video_core/query_cache/bank_base.h | 1 | ||||
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_query_cache.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/query_cache/bank_base.h b/src/video_core/query_cache/bank_base.h index 420927091..44769ea97 100644 --- a/src/video_core/query_cache/bank_base.h +++ b/src/video_core/query_cache/bank_base.h | |||
| @@ -82,6 +82,7 @@ public: | |||
| 82 | size_t new_index = bank_indices.front(); | 82 | size_t new_index = bank_indices.front(); |
| 83 | bank_indices.pop_front(); | 83 | bank_indices.pop_front(); |
| 84 | bank_pool[new_index].Reset(); | 84 | bank_pool[new_index].Reset(); |
| 85 | bank_indices.push_back(new_index); | ||
| 85 | return new_index; | 86 | return new_index; |
| 86 | } | 87 | } |
| 87 | size_t new_index = bank_pool.size(); | 88 | size_t new_index = bank_pool.size(); |
diff --git a/src/video_core/renderer_vulkan/vk_query_cache.cpp b/src/video_core/renderer_vulkan/vk_query_cache.cpp index 17b2587ad..2edaafa7e 100644 --- a/src/video_core/renderer_vulkan/vk_query_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_query_cache.cpp | |||
| @@ -506,6 +506,7 @@ private: | |||
| 506 | SetAccumulationValue(query->value); | 506 | SetAccumulationValue(query->value); |
| 507 | Free(index); | 507 | Free(index); |
| 508 | }); | 508 | }); |
| 509 | rasterizer->SyncOperation(std::move(func)); | ||
| 509 | } | 510 | } |
| 510 | 511 | ||
| 511 | template <bool is_resolve> | 512 | template <bool is_resolve> |