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

15 lines
122 B
WebGPU Shading Language
Raw Normal View History

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