Changeset c8c6da8 in opengl-game for compile.sh
- Timestamp:
- Aug 21, 2019, 8:19:09 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- e5d4aca
- Parents:
- ad31ec7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
compile.sh
rad31ec7 rc8c6da8 12 12 echo $VULKAN_SDK_PATH 13 13 14 $VULKAN_SDK_PATH/bin/glslangValidator -V shader.vert 15 $VULKAN_SDK_PATH/bin/glslangValidator -V shader.frag 14 shopt -s nullglob 15 shopt -s extglob 16 17 FILES=./!(*.spv) 18 19 for f in $FILES 20 do 21 shaderName=$(echo $f | sed 's/\.\/\(.*\)\..*/\1/') 22 shaderType=$(echo $f | sed 's/\.\/.*\.\(.*\)/\1/') 23 fOut="$shaderName-$shaderType.spv" 24 25 $VULKAN_SDK_PATH/bin/glslangValidator -V $f -o $fOut 26 done
Note:
See TracChangeset
for help on using the changeset viewer.