Skip to content

Commit

Permalink
ShaderCompiler: use SPIRV-Cross for reflection.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosua20 committed Sep 9, 2024
1 parent 03fcb18 commit f20d17e
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 181 deletions.
6 changes: 3 additions & 3 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ function LinkSystemLibraries()

-- Vulkan dependencies
filter("system:macosx or linux")
links({"glslang", "MachineIndependent", "GenericCodeGen", "OGLCompiler", "SPIRV", "SPIRV-Tools-opt", "SPIRV-Tools","OSDependent" })
links({"glslang", "MachineIndependent", "GenericCodeGen", "OGLCompiler", "SPIRV", "SPIRV-Tools-opt", "SPIRV-Tools", "OSDependent", "spirv-cross-core", "spirv-cross-cpp" })

filter({"system:windows", "configurations:Dev"})
links({"glslangd", "OGLCompilerd", "SPIRVd", "OSDependentd", "MachineIndependentd", "GenericCodeGend", "SPIRV-Tools-optd", "SPIRV-Toolsd"})
links({"glslangd", "OGLCompilerd", "SPIRVd", "OSDependentd", "MachineIndependentd", "GenericCodeGend", "SPIRV-Tools-optd", "SPIRV-Toolsd", "spirv-cross-cored", "spirv-cross-cppd" })

filter({"system:windows", "configurations:Release" })
links({"glslang", "OGLCompiler", "SPIRV", "OSDependent", "MachineIndependent", "GenericCodeGen", "SPIRV-Tools-opt", "SPIRV-Tools"})
links({"glslang", "OGLCompiler", "SPIRV", "OSDependent", "MachineIndependent", "GenericCodeGen", "SPIRV-Tools-opt", "SPIRV-Tools", "spirv-cross-core", "spirv-cross-cpp"})

filter({})
end
Expand Down
Loading

0 comments on commit f20d17e

Please sign in to comment.