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

15 lines
143 B
WebGPU Shading Language
Raw Normal View History

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();
}