new-engine/compile_shaders.sh
Warwick 86d57ade14 Initial SDL window test.
As an aside if you're on debian stable rn you will need sdl2 libs from
the testing branch.
2024-02-06 14:51:43 +00:00

7 lines
215 B
Bash
Executable file

#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $SCRIPT_DIR
glslc shaders/shader.vert -o shaders/shader.vert.spv
glslc shaders/shader.frag -o shaders/shader.frag.spv