Skip to content

Commit

Permalink
chore: update third party
Browse files Browse the repository at this point in the history
  • Loading branch information
SHIJIECHN committed Nov 10, 2024
1 parent 5638060 commit 93e7540
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
6 changes: 1 addition & 5 deletions cmake/glsl.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
add_executable(glslang::validator IMPORTED)
find_program(GLSLANG_VALIDATOR "glslangValidator" HINTS ${CMAKE_BINARY_DIR}/bin REQUIRED)
set_property(TARGET glslang::validator PROPERTY IMPORTED_LOCATION ${GLSLANG_VALIDATOR})

macro(compile_glsl GLSL_SHADER SPV_SHADER SPV_SHADERS)
add_custom_command(
OUTPUT ${SPV_SHADER}
COMMAND glslang::validator
COMMAND glslang-standalone
ARGS ${GLSL_SHADER} --target-env vulkan1.3 -o ${SPV_SHADER}
MAIN_DEPENDENCY ${GLSL_SHADER}
WORKING_DIRECTORY ${CMAKE_SHADERS_OUTPUT_DIRECTORY}
Expand Down
2 changes: 1 addition & 1 deletion external/glslang
Submodule glslang updated 701 files
2 changes: 1 addition & 1 deletion external/volk
Submodule volk updated 3 files
+11 −10 CMakeLists.txt
+87 −15 volk.c
+59 −11 volk.h

0 comments on commit 93e7540

Please sign in to comment.