Update compileshaders.py

glslangValidator has a capital V in its name. This will make this script work again on unix likes.
This commit is contained in:
deccer 2025-06-12 20:40:51 +00:00 committed by GitHub
parent 0686ff5dbc
commit 9e3f2b5e28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ def findGlslang():
if args.glslang != None and isExe(args.glslang):
return args.glslang
exe_name = "glslangvalidator"
exe_name = "glslangValidator"
if os.name == "nt":
exe_name += ".exe"
@ -58,4 +58,4 @@ for root, dirs, files in os.walk(dir_path):
res = subprocess.call("%s -V %s -o %s %s" % (glslang_path, input_file, output_file, add_params), shell=True)
if res != 0:
sys.exit(res)
sys.exit(res)