dawn-cmake/test/tint/out_of_order_decls/alias/struct.wgsl

11 lines
79 B
WebGPU Shading Language

type T = S;
struct S {
m : i32,
}
@stage(fragment)
fn f() {
var v : T;
}