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

11 lines
166 B
WebGPU Shading Language
Raw Normal View History

@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();
}