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

18 lines
181 B
WebGPU Shading Language
Raw Normal View History

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