diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-26 13:17:55 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-26 13:17:55 -0500 |
| commit | bbf861fbb4ea51ca18cd6f372797111984b6f8aa (patch) | |
| tree | 81ac99a1a6d61841cca3562fab529cf38348c73f /runtime/src/vulkan_predicate.h | |
| parent | 4645a3f62a7655ce69b930da70bdc1a858d1d0a1 (diff) | |
| parent | bdbc7e9236465c5d6a1305de6edd3fc09c2d6fd9 (diff) | |
Merge main into fix/depth16-quantise-fallback
runtime/CMakeLists.txt: main added the heavy_pipeline_cache, pipeline_cache_journal and compile_helper tests where this branch adds depth24_fragment; both sides are kept.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/vulkan_predicate.h')
| -rw-r--r-- | runtime/src/vulkan_predicate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/src/vulkan_predicate.h b/runtime/src/vulkan_predicate.h index cedb8af81..87d58b546 100644 --- a/runtime/src/vulkan_predicate.h +++ b/runtime/src/vulkan_predicate.h | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | #include <memory> | 8 | #include <memory> |
| 9 | #include <initializer_list> | 9 | #include <initializer_list> |
| 10 | #include "predicate_reduce_spv.h" | 10 | #include "predicate_reduce_spv.h" |
| 11 | #include "vulkan_aftermath.h" | ||
| 11 | 12 | ||
| 12 | namespace leonida { | 13 | namespace leonida { |
| 13 | struct PredicateCapture { | 14 | struct PredicateCapture { |
| @@ -156,6 +157,7 @@ private: | |||
| 156 | ok = ok && fn<PFN_vkCreatePipelineLayout>("vkCreatePipelineLayout")(device_, &layout_info, nullptr, &layout) == VK_SUCCESS; | 157 | ok = ok && fn<PFN_vkCreatePipelineLayout>("vkCreatePipelineLayout")(device_, &layout_info, nullptr, &layout) == VK_SUCCESS; |
| 157 | VkShaderModuleCreateInfo module{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO}; | 158 | VkShaderModuleCreateInfo module{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO}; |
| 158 | module.codeSize = sizeof(predicate_reduce_spirv); module.pCode = predicate_reduce_spirv; | 159 | module.codeSize = sizeof(predicate_reduce_spirv); module.pCode = predicate_reduce_spirv; |
| 160 | const aftermath::ShaderName aftermath_name("(runtime) predicate_reduce"); | ||
| 159 | ok = ok && fn<PFN_vkCreateShaderModule>("vkCreateShaderModule")(device_, &module, nullptr, &shader) == VK_SUCCESS; | 161 | ok = ok && fn<PFN_vkCreateShaderModule>("vkCreateShaderModule")(device_, &module, nullptr, &shader) == VK_SUCCESS; |
| 160 | VkComputePipelineCreateInfo info{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO}; | 162 | VkComputePipelineCreateInfo info{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO}; |
| 161 | info.stage = {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}; | 163 | info.stage = {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}; |