umbra/projs/shadow/shadow-runtime/vlkx-resources/shader/compileShaders.bat
dpeter99 71b95e1ccf
Base of the Module system (#8)
Co-authored-by: Curle <curle@gemwire.uk>
2022-11-26 13:22:36 +00:00

5 lines
169 B
Batchfile

@echo off
echo Compiling GLSL shaders to SPIR-V Binary
for /r %%i in (*.vert;*.frag) do %VULKAN_SDK%\Bin\glslangValidator.exe -V "%%i" -o "%%~dpiSPIRV\%%~nxi".spv
PAUSE