source: opengl-game/compile.bat

feature/imgui-sdl
Last change on this file was 681dbe8, checked in by Dmitry Portnoy <dportnoy@…>, 4 years ago

Update compile.bat to use the existing VULKAN_SDK environment variable

  • Property mode set to 100644
File size: 200 bytes
Line 
1echo off
2setlocal enabledelayedexpansion
3
4cd shaders
5
6for %%f in (*.vert *.frag) do (
7 set ext=%%~xf
8 set ext=!ext:~1!
9
10 %VULKAN_SDK%\Bin\glslangValidator.exe -V %%f -o %%~nf-!ext!.spv
11)
12
13cd ..
Note: See TracBrowser for help on using the repository browser.