# HG changeset patch # User Sam # Date 1710939371 -25200 # Node ID 1e21931cba7a959c3b441fc8bcb1aab4b82821d7 # Parent 12840b80486d02acc4433a621f537c9d4cb6545e fix: path to shader compiler wrong diff -r 12840b80486d -r 1e21931cba7a semicongine/vulkan/shader.nim --- a/semicongine/vulkan/shader.nim Wed Mar 20 18:47:42 2024 +0700 +++ b/semicongine/vulkan/shader.nim Wed Mar 20 19:56:11 2024 +0700 @@ -59,7 +59,7 @@ echo "shader of type ", stage, ", entrypoint ", entrypoint for i, line in enumerate(shaderSource.splitlines()): echo " ", i + 1, " ", line - var glslExe = currentSourcePath.parentDir().parentDir() / "tools" / "glslangValidator" + var glslExe = currentSourcePath.parentDir.parentDir.parentDir / "tools" / "glslangValidator" when defined(windows): glslExe = glslExe & "." & ExeExt let command = &"{glslExe} --entry-point {entrypoint} -V --stdin -S {stagename} -o {shaderfile}"