# HG changeset patch # User Sam # Date 1710939371 -25200 # Node ID e6db6ccb931e80199d7c98f64696789a806f989f # Parent 71559c2468ea37900c3f18a5226269c34b49e065 fix: path to shader compiler wrong diff -r 71559c2468ea -r e6db6ccb931e 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}"