From d8c174bcae31ecdc0cb7dff008a0907b1a2f20c2 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Fri, 22 Aug 2025 10:04:47 +0800 Subject: [PATCH] try fix vulkan build --- ggml/src/ggml-vulkan/ggml-vulkan.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ggml/src/ggml-vulkan/ggml-vulkan.cpp b/ggml/src/ggml-vulkan/ggml-vulkan.cpp index 13abf25ac..64414b917 100644 --- a/ggml/src/ggml-vulkan/ggml-vulkan.cpp +++ b/ggml/src/ggml-vulkan/ggml-vulkan.cpp @@ -61,7 +61,11 @@ #include "ggml-impl.h" #include "ggml-backend-impl.h" +#ifndef NO_VULKAN_EXTENSIONS #include "ggml-vulkan-shaders.hpp" +#else +#include "ggml-vulkan-shaders-noext.hpp" +#endif // remove this once it's more widely available in the SDK #if !defined(VK_KHR_shader_bfloat16)