Changeset 187b0f5 in opengl-game for compile.sh
- Timestamp:
- Mar 11, 2021, 2:44:43 AM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 301c90a
- Parents:
- 20e4c2b
- git-author:
- Dmitry Portnoy <dportnoy@…> (03/11/21 02:39:25)
- git-committer:
- Dmitry Portnoy <dportnoy@…> (03/11/21 02:44:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
compile.sh
r20e4c2b r187b0f5 1 # TODO: Maybe turn this into a target in the makefile 1 # TODO: Figure out why calling this from a makefile gives an error about shopt not being found 2 3 # This section is left here in case there's no easy way to get glslangValidator in the path on a Mac 2 4 3 5 OS=$(uname) … … 6 8 VULKAN_SDK_PATH=/Users/dportnoy15/Development/vulkan-sdk-macos-1.1.108.0/macOS 7 9 fi 8 if [ $OS = "Linux" ]; then9 VULKAN_SDK_PATH=/home/dportnoy/Desktop/VulkanSDK/1.1.106.0/x86_6410 fi11 12 echo $VULKAN_SDK_PATH13 10 14 11 shopt -s nullglob … … 23 20 fOut="$shaderName-$shaderType.spv" 24 21 25 $VULKAN_SDK_PATH/bin/glslangValidator -V $f -o $fOut22 glslangValidator -V $f -o $fOut 26 23 done
Note:
See TracChangeset
for help on using the changeset viewer.