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

9 lines
118 B
WebGPU Shading Language

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