dawn-cmake/test/intrinsics/ignore/runtime_array.wgsl.expected...

12 lines
172 B
WebGPU Shading Language

[[block]]
struct S {
arr : array<i32>;
};
[[binding(0), group(0)]] var<storage, read_write> s : S;
[[stage(compute), workgroup_size(1)]]
fn main() {
ignore(s.arr);
}