vulkan-project/compile.sh

13 lines
268 B
Bash
Raw Normal View History

2022-10-07 23:30:44 +02:00
#!/bin/sh
WDIR=$HOME/c++/vulkan
mkdir -p $WDIR/shaders
2022-10-07 23:30:44 +02:00
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
2022-10-07 23:30:44 +02:00