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)
99
99
100
100
if (GGML_VULKAN_SHADER_DEBUG_INFO)
101
101
add_compile_definitions (GGML_VULKAN_SHADER_DEBUG_INFO)
102
+ list (APPEND VULKAN_SHADER_GEN_CMAKE_ARGS -DGGML_VULKAN_SHADER_DEBUG_INFO=ON )
102
103
endif ()
103
104
104
105
if (GGML_VULKAN_VALIDATE)
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ if (GGML_VULKAN_BFLOAT16_GLSLC_SUPPORT)
19
19
add_compile_definitions (GGML_VULKAN_BFLOAT16_GLSLC_SUPPORT)
20
20
message (STATUS "Enabling bfloat16 glslc support" )
21
21
endif ()
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 ()
22
26
23
27
set (TARGET vulkan-shaders-gen)
24
28
add_executable (${TARGET} vulkan-shaders-gen.cpp)
You can’t perform that action at this time.
0 commit comments