upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/vulkan_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/src/vulkan_backend.h')
-rw-r--r--runtime/src/vulkan_backend.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/src/vulkan_backend.h b/runtime/src/vulkan_backend.h
index e3bb1fe63..9f5b93cee 100644
--- a/runtime/src/vulkan_backend.h
+++ b/runtime/src/vulkan_backend.h
@@ -1196,7 +1196,8 @@ public:
1196 }; 1196 };
1197 std::shared_ptr<OcclusionSegmentPool> physical, statistics; 1197 std::shared_ptr<OcclusionSegmentPool> physical, statistics;
1198 if (segments && !segment_pool(VK_QUERY_TYPE_OCCLUSION, segments, physical)) return ReplayResult::unsupported; 1198 if (segments && !segment_pool(VK_QUERY_TYPE_OCCLUSION, segments, physical)) return ReplayResult::unsupported;
1199 if (statistics_segments && 1199 // Without the compute helper a split query could not be summed: leave statistics queries whole, as before.
1200 if (statistics_segments && can_resolve_occlusion &&
1200 !segment_pool(VK_QUERY_TYPE_PIPELINE_STATISTICS, statistics_segments, statistics)) 1201 !segment_pool(VK_QUERY_TYPE_PIPELINE_STATISTICS, statistics_segments, statistics))
1201 return ReplayResult::unsupported; 1202 return ReplayResult::unsupported;
1202 QueryReplay queries; 1203 QueryReplay queries;