update sokol (views update for gfx was breaking change)

This commit is contained in:
2025-09-14 13:34:49 -04:00
parent 8ed60cca33
commit 841a23b707
66 changed files with 5534 additions and 4516 deletions

31
thirdparty/sokol/build_shaders.sh vendored Normal file
View File

@@ -0,0 +1,31 @@
#!/usr/bin/env bash
set -e
if [ -z "$1" ]
then
echo "usage: ./build_shaders.sh [path-to-sokol-shdc]"
exit 1
fi
shdc="$1"
build_shader() {
name=$1
dir=examples/$name
echo $dir
$shdc -i $dir/shader.glsl -o $dir/shader.odin -l glsl430:metal_macos:hlsl5 -f sokol_odin
}
build_shader blend
build_shader bufferoffsets
build_shader cube
build_shader instancing
build_shader instancing-compute
build_shader mrt
build_shader noninterleaved
build_shader offscreen
build_shader quad
build_shader shapes
build_shader texcube
build_shader triangle
build_shader vertexpull