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

18 lines
187 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;
}
@compute @workgroup_size(1i, 1i, 1i)
fn main() {
main_1();
}