Changeset 6544020 in opengl-game


Ignore:
Timestamp:
Aug 22, 2019, 1:38:22 PM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
cbe946d
Parents:
e5d4aca
Message:

Update compile.bat to compile all vertex and fragment shaders

File:
1 edited

Legend:

Unmodified
Added
Removed
  • compile.bat

    re5d4aca r6544020  
    11echo off
     2setlocal enabledelayedexpansion
    23
    34set VULKAN_SDK_PATH=D:\VulkanSDK\1.1.108.0
    45
    5 %VULKAN_SDK_PATH%\Bin\glslangValidator.exe -V shader.vert
    6 %VULKAN_SDK_PATH%\Bin\glslangValidator.exe -V shader.frag
     6for %%f in (*.vert *.frag) do (
     7   set ext=%%~xf
     8   set ext=!ext:~1!
    79
    8 pause
     10   %VULKAN_SDK_PATH%\Bin\glslangValidator.exe -V %%f -o %%~nf-!ext!.spv
     11)
Note: See TracChangeset for help on using the changeset viewer.