dawn-cmake/test/tint/var/initialization/function/struct.wgsl

11 lines
116 B
WebGPU Shading Language
Raw Normal View History

struct S {
a : i32,
b : f32,
};
@stage(compute) @workgroup_size(1)
fn main() {
var v : S;
_ = v;
}