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

9 lines
111 B
WebGPU Shading Language
Raw Permalink Normal View History

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