vulkan-project/compile.sh
2022-10-07 23:30:44 +02:00

13 lines
268 B
Bash
Executable File

#!/bin/sh
WDIR=$HOME/c++/vulkan
mkdir -p $WDIR/shaders
glslc $WDIR/shader.vert -o $WDIR/shaders/vert.spv
glslc $WDIR/shader.frag -o $WDIR/shaders/frag.spv
glslc $WDIR/shader2D.vert -o $WDIR/shaders/vert2D.spv
glslc $WDIR/shader2D.frag -o $WDIR/shaders/frag2D.spv