From 91c8c3f32c4b827dedc74d2ecdfe72a3403fc357 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Thu, 21 Jul 2022 17:10:14 -0400 Subject: Upgrade SPIR-V Tools and GLSLANG (#2335) * #include an absolute path didn't work - because paths were taken to always be relative. * Upgrade of SPIR-V Tools * Use slang-pack to get slang-glslang (previously was in slang-binaries) Update slang-glslang used --- premake5.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'premake5.lua') diff --git a/premake5.lua b/premake5.lua index 04649689e..6cad48349 100644 --- a/premake5.lua +++ b/premake5.lua @@ -1399,13 +1399,15 @@ tool "slangd" } end + local slangGlslangPath = deps:getProjectRelativePath("slang-glslang", "../../..") + -- If we are not building glslang from source, then be -- sure to copy a binary copy over to the output directory if not buildGlslang then filter { "system:linux or macosx or windows" } local sharedLibName = slangUtil.getSharedLibraryFileName(targetInfo, "slang-glslang") postbuildcommands { - "{COPY} ../../../external/slang-binaries/bin/" .. targetName .. "/" .. sharedLibName .. " %{cfg.targetdir}" + "{COPY} " .. slangGlslangPath .. "/bin/" .. targetName .. "/release/" .. sharedLibName .. " %{cfg.targetdir}" } end -- cgit v1.2.3