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

10 lines
119 B
WebGPU Shading Language

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