add ShaderParse

This commit is contained in:
2020-08-23 18:18:38 +08:00
parent eb512ff6cf
commit 5a81928c80
3 changed files with 153 additions and 9 deletions

View File

@@ -31,6 +31,6 @@ set(VULKAN_SPIRV_LIBS GenericCodeGen
SPIRV-Tools-opt
spirv-cross-core)
add_library(GLSLCompiler SHARED glsl2spv.cpp)
add_library(GLSLCompiler SHARED glsl2spv.cpp VKShaderParse.h)
target_link_libraries(GLSLCompiler PRIVATE ${VULKAN_SPIRV_LIBS} ${Vulkan_LIBRARY})