summaryrefslogtreecommitdiff
path: root/validateShaders.py
diff options
context:
space:
mode:
Diffstat (limited to 'validateShaders.py')
-rwxr-xr-xvalidateShaders.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/validateShaders.py b/validateShaders.py
index 64d91bf..39bf4e2 100755
--- a/validateShaders.py
+++ b/validateShaders.py
@@ -5,10 +5,10 @@ from subprocess import PIPE,run
def validate(path:str):
print("validating \"",path,"\"... ",end='',sep='')
- path = "shader/" + path + ".glsl"
- prog = "glslangValidator"
+ path = "source/dw/app/shader/" + path + ".glsl"
+ program = "glslangValidator"
- status = run([prog,path],stdout=PIPE)
+ status = run([program,path],stdout=PIPE)
result = status.returncode
if result != 0x0: