source: opengl-game/compile.bat@ e1f88a9

feature/imgui-sdl
Last change on this file since e1f88a9 was 683dd55, checked in by Dmitry Portnoy <dmp1488@…>, 5 years ago

Add a getObjects() method to the GraphicsPipeline_Vulkan class that returns a reference to the list of objects added to the pipeline, and use that method instead of the numPlanes variable to keep track of the number of textured planes. Also, update the shader compilation batch file and add header files as dependencies to the vulkangame target in the makefile.

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