dawn-cmake/test/bug/tint/1385.wgsl.expected.wgsl

11 lines
166 B
WebGPU Shading Language

@group(0) @binding(1) var<storage, read> data : array<i32>;
fn foo() -> i32 {
return data[0];
}
@stage(compute) @workgroup_size(16, 16, 1)
fn main() {
foo();
}