dawn-cmake/test/ptr_ref/store/local/struct_field.spvasm.expecte...

15 lines
147 B
WebGPU Shading Language

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