@vertex fn main( @builtin(vertex_index) VertexIndex : u32 ) -> @builtin(position) vec4 { const pos = array( vec2(-1.0, -1.0), vec2(1.0, -1.0), vec2(-1.0, 1.0), vec2(-1.0, 1.0), vec2(1.0, -1.0), vec2(1.0, 1.0), ); return vec4(pos[VertexIndex], 0.0, 1.0); }