cpp-vulkan-setup/make_shaders.sh

10 lines
144 B
Bash
Raw Normal View History

2022-01-18 20:28:25 +00:00
#!/bin/sh
DIR="$(realpath $(dirname $0))"
cd "${DIR}/shaders"
# needs Vulkan SDK
glslc shader.vert -o vert.spv
glslc shader.frag -o frag.spv