dawn-cmake/test/tint/shader_io/invariant_struct_member.wgs...

10 lines
112 B
WebGPU Shading Language
Raw Permalink Normal View History

struct Out {
@builtin(position) @invariant
pos : vec4<f32>,
}
@vertex
fn main() -> Out {
return Out();
}