dawn-cmake/test/intrinsics/ignore/storage_buffer.wgsl

12 lines
164 B
WebGPU Shading Language
Raw Normal View History

struct S {
i : i32;
};
@binding(0) @group(0) var<storage, read_write> s : S;
@stage(compute) @workgroup_size(1)
fn main() {
ignore(s);
ignore(s.i);
}