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

18 lines
191 B
WebGPU Shading Language

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