Mercurial > games > semicongine
changeset 919:e6db6ccb931e
fix: path to shader compiler wrong
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 20 Mar 2024 19:56:11 +0700 |
parents | 71559c2468ea |
children | c66503386e8b |
files | semicongine/vulkan/shader.nim |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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}"