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

16 lines
130 B
WebGPU Shading Language
Raw Normal View History

struct S {
i : i32;
};
var<private> V : S;
fn main_1() {
V.i = 5;
return;
}
[[stage(compute)]]
fn main() {
main_1();
}