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

16 lines
155 B
WebGPU Shading Language

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