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

17 lines
173 B
WebGPU Shading Language
Raw Normal View History

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