Add build_shader.sh with --keep-coordinate-space flag documented

This commit is contained in:
Andrew Hamilton 2026-07-23 11:04:28 +10:00
parent 0223087e3e
commit 989c3a2726

4
build_shader.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
naga --keep-coordinate-space "$SCRIPT_DIR/src/shader.wgsl" "$SCRIPT_DIR/shader.spv"