cpp-vulkan-setup/make_shaders.sh

10 lines
144 B
Bash
Executable file

#!/bin/sh
DIR="$(realpath $(dirname $0))"
cd "${DIR}/shaders"
# needs Vulkan SDK
glslc shader.vert -o vert.spv
glslc shader.frag -o frag.spv