mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 05:16:01 +00:00
Smoke test passes 9/9 through the bridge on RADV (dmabuf) and lavapipe (hostptr, UMA model); vkcube renders correctly over Wayland dma-buf, wl_shm and X11. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KZqR8XUE8czvGzEpgSCVQR
13 lines
484 B
Bash
Executable File
13 lines
484 B
Bash
Executable File
#!/bin/bash
|
|
# Compiles the test shaders into C arrays (tests/smoke_spv.h). Needs glslangValidator.
|
|
set -eu
|
|
cd "$(dirname "$0")"
|
|
out=smoke_spv.h
|
|
echo "/* Generated by gen_shaders.sh from shaders/ - do not edit. */" > $out
|
|
for s in shaders/*.comp shaders/*.vert shaders/*.frag; do
|
|
name=$(basename "$s" | tr . _)
|
|
glslangValidator -V --vn "spv_$name" -o tmp.h "$s" >/dev/null
|
|
grep -v '^ *//' tmp.h | sed 's/^const uint32_t/static const uint32_t/' >> $out
|
|
rm -f tmp.h
|
|
done
|