vulkan-test/src/shaders/shaderc

7 lines
177 B
Plaintext
Raw Normal View History

2024-10-01 18:30:31 -04:00
#!/usr/bin/env sh
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR" || exit
glslc -c ./shader.vert -o ./vert.spv
glslc -c ./shader.frag -o ./frag.spv