From 8415cac7ac3bb540a2ab7da32f3bce59d22c635e Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sat, 5 Apr 2025 22:42:27 +0800 Subject: [PATCH] add vk shaders source (+1 squashed commits) Squashed commits: [45359f49] add vk shaders source --- .../kcpp-build-release-win-full-cu12.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/kcpp-build-release-win-full-cu12.yaml b/.github/workflows/kcpp-build-release-win-full-cu12.yaml index ea2f8ced2..4a3133ed2 100644 --- a/.github/workflows/kcpp-build-release-win-full-cu12.yaml +++ b/.github/workflows/kcpp-build-release-win-full-cu12.yaml @@ -84,3 +84,19 @@ jobs: with: name: kcpp_windows_pyinstallers path: dist/ + + - name: Generate VK Instructions + id: gen_vk_instructions + run: | + echo "If you cannot compile vulkan shaders yourself with glslc, you can manually patch in precompiled vulkan shader source files. Copy these 2 files to the ggml/src directory before building." > vulkan-readme.txt + + - name: Save Standalone Vulkan Shaders + uses: actions/upload-artifact@v4 + with: + name: vulkan_precompiled_shaders + path: | + ggml/src/ggml-vulkan-shaders.cpp + ggml/src/ggml-vulkan-shaders.hpp + vulkan-readme.txt + +