umbra/projs/test-game/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