dawn-cmake/test/tint/statements/assign/phony/addr_of_non_constructable.w...

11 lines
143 B
WebGPU Shading Language
Raw Normal View History

struct S {
arr : array<i32>,
}
@binding(0) @group(0) var<storage, read_write> s : S;
@compute @workgroup_size(1)
fn main() {
_ = &(s);
}