2 Commits

Author SHA1 Message Date
Ali Cheraghi c9ca79fb48 std.spirv: add Scope, MemorySemantics, and barrier primitives
Exposes OpControlBarrier and OpMemoryBarrier so compute kernels do not
need to hand-roll inline asm for workgroup synchronisation. Scope and
MemorySemantics mirror the SPIRV-Headers unified1 grammar bit-for-bit;
workgroupBarrier() matches the semantics of GLSL barrier().

Co-authored-by: Quint Daenen <quint@daenen.email>
2026-06-18 13:38:58 +02:00
Ali Cheraghi 281991328e std: rename gpu.zig to spirv.zig 2026-06-14 09:11:59 +02:00