diff options
Diffstat (limited to 'runtime/src/vulkan_backend.h')
| -rw-r--r-- | runtime/src/vulkan_backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/vulkan_backend.h b/runtime/src/vulkan_backend.h index e577e6af0..490108f04 100644 --- a/runtime/src/vulkan_backend.h +++ b/runtime/src/vulkan_backend.h | |||
| @@ -1355,7 +1355,7 @@ public: | |||
| 1355 | std::uint32_t segments = 0, statistics_segments = 0; | 1355 | std::uint32_t segments = 0, statistics_segments = 0; |
| 1356 | bool has_queries = false; | 1356 | bool has_queries = false; |
| 1357 | for (std::size_t i = 0; i < lists.size(); ++i) { | 1357 | for (std::size_t i = 0; i < lists.size(); ++i) { |
| 1358 | const auto result = prepare(*lists[i], resolve, replay, prepared[i]); | 1358 | const auto result = prepare(*lists[i], resolve, replay, prepared[i], can_resolve_occlusion); |
| 1359 | if (result != ReplayResult::success) return result; | 1359 | if (result != ReplayResult::success) return result; |
| 1360 | if (prepared[i].segment_count > UINT32_MAX - segments || | 1360 | if (prepared[i].segment_count > UINT32_MAX - segments || |
| 1361 | prepared[i].statistics_segment_count > UINT32_MAX - statistics_segments) | 1361 | prepared[i].statistics_segment_count > UINT32_MAX - statistics_segments) |