0
0
Fork
You've already forked mr_gpu_triangle_example
0
No description
  • Zig 100%
2026年06月14日 15:37:08 +02:00
src fully validated! 2026年06月14日 01:27:32 +01:00
.gitignore Done! 2026年06月13日 20:22:39 +01:00
build.zig basically nothing 2026年06月13日 23:01:27 +01:00
build.zig.zon Done! 2026年06月13日 20:22:39 +01:00
LICENSE Initial commit 2026年06月12日 02:42:19 +02:00
README.md Update README.md 2026年06月14日 15:37:08 +02:00

mr_gpu_triangle_example

Using wio for windowing, and zig for shader lang

Uses a switch in the vertex shader instead of the regular const array because of ziglang/zig#31925, but a fix is in the master branch of zig. But zig->spirv needs int8 and in16, maybe because of that switch? Which aren't enabled in mr_gpu atm and I don't see a way to pass features to enable in. I just edited my zig-pkg's copy of mr_gpu's feature setting up to add int8 and int16 as silly workaround for now.