umbra/projs/shadow/shadow-runtime/vlkx-resources/shader/compileShaders.bat

5 lines
169 B
Batchfile
Raw Permalink Normal View History

@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