File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ if (Vulkan_FOUND)
9999
100100 if (GGML_VULKAN_SHADER_DEBUG_INFO)
101101 add_compile_definitions (GGML_VULKAN_SHADER_DEBUG_INFO)
102+ list (APPEND VULKAN_SHADER_GEN_CMAKE_ARGS -DGGML_VULKAN_SHADER_DEBUG_INFO=ON )
102103 endif ()
103104
104105 if (GGML_VULKAN_VALIDATE)
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ if (GGML_VULKAN_BFLOAT16_GLSLC_SUPPORT)
1919 add_compile_definitions (GGML_VULKAN_BFLOAT16_GLSLC_SUPPORT)
2020 message (STATUS "Enabling bfloat16 glslc support" )
2121endif ()
22+ if (GGML_VULKAN_SHADER_DEBUG_INFO)
23+ add_compile_definitions (GGML_VULKAN_SHADER_DEBUG_INFO)
24+ message (STATUS "Enabling shader debug info" )
25+ endif ()
2226
2327set (TARGET vulkan-shaders-gen)
2428add_executable (${TARGET} vulkan-shaders-gen.cpp)
You can’t perform that action at this time.
0 commit comments