#version 450 // Same fullscreen triangle as iter3 — positions from gl_VertexIndex. void main() { vec2 pos = vec2((gl_VertexIndex << 1) & 2, gl_VertexIndex & 2); gl_Position = vec4(pos * 2.0 - 1.0, 0.0, 1.0); }