diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 16:38:20 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 16:38:20 -0500 |
| commit | c116c3fa28983444cd47feea0461e1e7eaac83b5 (patch) | |
| tree | f2f4821b744b678f0cf1ce98638e981ea737b0c6 /runtime/src/vulkan_predicate.h | |
| parent | 5866d6974e86fc2d39e6ce0691af63b354f6c8b9 (diff) | |
| parent | 24d8af66af151f024b0b520fb397d899924f5486 (diff) | |
Merge main into t-drive-overlay
docs/boot.md: main added LEONIDA_WRITE_DIR / LEONIDA_SAVE_DIR to the
--overlay bullet and a new "Under Wine on Linux" section; keep both and
the T: paragraph of this branch after main's sentences.
Co-Authored-By: Claude Opus 5.5 <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}; |