dawn-cmake/test/ptr_ref/store/global/struct_field.spvasm.expecte...

16 lines
151 B
WebGPU Shading Language

struct S {
i : i32;
}
var<private> V : S;
fn main_1() {
V.i = 5;
return;
}
@stage(compute) @workgroup_size(1, 1, 1)
fn main() {
main_1();
}