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)
6464
6565 if (${glslc_error} MATCHES ".*extension not supported: GL_EXT_integer_dot_product.*" )
6666 message (STATUS "GL_EXT_integer_dot_product not supported by glslc" )
67+ set (GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT OFF )
6768 else ()
6869 message (STATUS "GL_EXT_integer_dot_product supported by glslc" )
70+ set (GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT ON )
6971 add_compile_definitions (GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT)
7072 endif ()
7173
@@ -139,6 +141,7 @@ if (Vulkan_FOUND)
139141 -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}
140142 -DGGML_VULKAN_COOPMAT_GLSLC_SUPPORT=${GGML_VULKAN_COOPMAT_GLSLC_SUPPORT}
141143 -DGGML_VULKAN_COOPMAT2_GLSLC_SUPPORT=${GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT}
144+ -DGGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT=${GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT}
142145 BUILD_COMMAND ${CMAKE_COMMAND} --build .
143146 INSTALL_COMMAND ${CMAKE_COMMAND} --install .
144147 INSTALL_DIR ${CMAKE_BINARY_DIR}
Original file line number Diff line number Diff line change 66if (GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT)
77 add_compile_definitions (GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT)
88endif ()
9+ if (GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT)
10+ add_compile_definitions (GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT)
11+ endif ()
912set (TARGET vulkan-shaders-gen)
1013add_executable (${TARGET} vulkan-shaders-gen.cpp)
1114install (TARGETS ${TARGET} RUNTIME)
You can’t perform that action at this time.
0 commit comments