upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/vulkan_predicate.h
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 16:38:20 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 16:38:20 -0500
commitc116c3fa28983444cd47feea0461e1e7eaac83b5 (patch)
treef2f4821b744b678f0cf1ce98638e981ea737b0c6 /runtime/src/vulkan_predicate.h
parent5866d6974e86fc2d39e6ce0691af63b354f6c8b9 (diff)
parent24d8af66af151f024b0b520fb397d899924f5486 (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.h2
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
12namespace leonida { 13namespace leonida {
13struct PredicateCapture { 14struct 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};