dawn-cmake/test/tint/ptr_ref/load/local/struct_field.wgsl

11 lines
119 B
WebGPU Shading Language

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