-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompile.sh
More file actions
executable file
·15 lines (13 loc) · 918 Bytes
/
compile.sh
File metadata and controls
executable file
·15 lines (13 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
GLSL_COMPILER=/cygdrive/c/VulkanSDK/1.2.189.2/Bin/glslangValidator.exe
#GLSL_COMPILER=~/vulkan/1.3.231.0/x86_64/bin/glslangValidator
#GLSL_COMPILER=~/VulkanSDK/1.3.231.1/macOS/bin/glslangValidator
set -x
$GLSL_COMPILER -V standard-2d.vert -o submodules/krma-shader-bin/standard-2d.vert.spv
$GLSL_COMPILER -V standard-3d.vert -o submodules/krma-shader-bin/standard-3d.vert.spv
$GLSL_COMPILER -V 3d-with-normal.vert -o submodules/krma-shader-bin/3d-with-normal.vert.spv
$GLSL_COMPILER -V lighting+texture.frag -o submodules/krma-shader-bin/lighting+texture.frag.spv
$GLSL_COMPILER -V texture.frag -o submodules/krma-shader-bin/texture.frag.spv
$GLSL_COMPILER -V msdf-texture.frag -o submodules/krma-shader-bin/msdf-texture.frag.spv
$GLSL_COMPILER -V notexture.frag -o submodules/krma-shader-bin/notexture.frag.spv
$GLSL_COMPILER -V instanced-line.vert -o submodules/krma-shader-bin/instanced-line.vert.spv