WGSL
WebGPU compute shader source.
Part of the GPU lane. Every panel below is compiler output.
How to read it#
Bindings, workgroup declarations, and bounds guards that the kernel never spells out. This is the case for writing kernels in Faber: the source stays about the computation.
Measured support#
wgsl-text is a device-kernel emitter, not a general-language target. It lowers kernel declarations and related GPU views, and deliberately nothing else, so it is not scored against the general corpus — a percentage there would read as a completion score it is not. Its measured support is the device kernel support summary.
A compute kernel#
A kernel declaration. Device lanes only — this is a different kind of source, not a variant of the programs above.
WGSL does not lower this scenario. That is a measured gap, not an omission — the emitter rejects it rather than producing something that would not run.
---