source:
opengl-game/compile.bat@
aa7707d
Last change on this file since aa7707d was aa7707d, checked in by , 5 years ago | |
---|---|
|
|
File size: 249 bytes |
Rev | Line | |
---|---|---|
[c458c58] | 1 | echo off |
[6544020] | 2 | setlocal enabledelayedexpansion |
[c458c58] | 3 | |
[683dd55] | 4 | cd shaders |
5 | ||
[aa7707d] | 6 | set VULKAN_SDK_PATH=D:\VulkanSDK\1.2.135.0 |
[c458c58] | 7 | |
[6544020] | 8 | for %%f in (*.vert *.frag) do ( |
9 | set ext=%%~xf | |
10 | set ext=!ext:~1! | |
[c458c58] | 11 | |
[6544020] | 12 | %VULKAN_SDK_PATH%\Bin\glslangValidator.exe -V %%f -o %%~nf-!ext!.spv |
[683dd55] | 13 | ) |
14 | ||
15 | cd .. |
Note:
See TracBrowser
for help on using the repository browser.