File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,10 @@ if (Vulkan_FOUND)
64
64
65
65
if (${glslc_error} MATCHES ".*extension not supported: GL_EXT_integer_dot_product.*" )
66
66
message (STATUS "GL_EXT_integer_dot_product not supported by glslc" )
67
+ set (GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT OFF )
67
68
else ()
68
69
message (STATUS "GL_EXT_integer_dot_product supported by glslc" )
70
+ set (GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT ON )
69
71
add_compile_definitions (GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT )
70
72
endif ()
71
73
@@ -139,6 +141,7 @@ if (Vulkan_FOUND)
139
141
-DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}
140
142
-DGGML_VULKAN_COOPMAT_GLSLC_SUPPORT=${GGML_VULKAN_COOPMAT_GLSLC_SUPPORT}
141
143
-DGGML_VULKAN_COOPMAT2_GLSLC_SUPPORT=${GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT}
144
+ -DGGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT=${GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT}
142
145
BUILD_COMMAND ${CMAKE_COMMAND} --build .
143
146
INSTALL_COMMAND ${CMAKE_COMMAND} --install .
144
147
INSTALL_DIR ${CMAKE_BINARY_DIR}
Original file line number Diff line number Diff line change 6
6
if (GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT )
7
7
add_compile_definitions (GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT )
8
8
endif ()
9
+ if (GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT )
10
+ add_compile_definitions (GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT )
11
+ endif ()
9
12
set (TARGET vulkan-shaders-gen )
10
13
add_executable (${TARGET} vulkan-shaders-gen.cpp )
11
14
install (TARGETS ${TARGET} RUNTIME )
You can’t perform that action at this time.
0 commit comments