update shader compile script
This commit is contained in:
@@ -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
|
|
||||||
4
openVulkanoCpp/Shader/CompileShaders.sh
Normal file
4
openVulkanoCpp/Shader/CompileShaders.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
for f in ./* ; do
|
||||||
|
glslangValidator -V $f -o $f.spv
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user