update shader compile script

This commit is contained in:
2021-01-11 00:29:11 +01:00
parent e90c043c6b
commit aed4eb7f81
2 changed files with 4 additions and 7 deletions

View File

@@ -1,7 +0,0 @@
REM Make the directory batch file resides in as the working directory.
pushd %~dp0
glslangvalidator -V basic.vert -o basic.vert.spv
glslangvalidator -V basic.frag -o basic.frag.spv
popd

View File

@@ -0,0 +1,4 @@
#!/bin/bash
for f in ./* ; do
glslangValidator -V $f -o $f.spv
done