Subo2002
71115f0ab3
std.spirv: add setMeshOutputs() function
2026-08-29 20:03:14 +02:00
avalyn0x45
5fe9620b77
Remove erroneous quote in std.spirv.specConst inline asm ( #36230 )
...
This seems to be an accidental inclusion from a copy+paste and stops function from being used with ints.
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/36230
Reviewed-by: Ali Cheraghi <alichraghi@noreply.codeberg.org >
2026-07-21 19:54:03 +02:00
Gota7
ecb9b3d16d
Add helpful SPIR-V functions ( #36187 )
...
The following capabilities are added to `std.spirv`:
* Implicit image sampling
* Image writing
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/36187
Reviewed-by: Ali Cheraghi <alichraghi@noreply.codeberg.org >
2026-07-18 10:09:46 +02:00
Justus Klausecker
69a26976ed
zig fmt
...
Converts usages of `@intFromEnum` and `@enumFromInt` to instead use the
new `@backingInt` and `@fromBackingInt` builtins.
2026-07-17 23:30:26 +02:00
Ali Cheraghi
c498b66434
spirv: spec constants
...
add `std.spirv.specConst()` and support lowering literal values as string in inline assembly
2026-07-10 11:39:54 +03:30
Ali Cheraghi and Quint Daenen
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