Advertisement
Guest User

Untitled

a guest
Jun 21st, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.44 KB | None | 0 0
  1. @echo off
  2. set shaders_path=..\core\shaders
  3.  
  4. echo Compiling vertex shaders. & echo.
  5. for %%? in (%shaders_path%\*.vert) do (
  6.     %VULKAN_SDK%\Bin32\glslangValidator.exe -V -o %shaders_path%\%%~n?%%~x?.spv %shaders_path%\%%~n?%%~x?
  7. )
  8.  
  9. echo. & echo Compiling fragment shaders. & echo.
  10. for %%? in (%shaders_path%\*.frag) do (
  11.     %VULKAN_SDK%\Bin32\glslangValidator.exe -V -o %shaders_path%\%%~n?%%~x?.spv %shaders_path%\%%~n?%%~x?
  12. )
  13. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement