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

11 lines
159 B
WebGPU Shading Language

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