dawn-cmake/test/tint/builtins/workgroupUniformLoad/array.wgsl

6 lines
100 B
WebGPU Shading Language

var<workgroup> v : array<i32, 4>;
fn foo() -> array<i32, 4> {
return workgroupUniformLoad(&v);
}