#version 300 es // Defines output as an array (uses only 1st index), // and two vectors (1st unused). layout(location = 0) out mediump vec4 _colArr[2]; layout(location = 2) out mediump vec4 _colVecUnused; layout(location = 3) out mediump vec4 _colVec; void main() { _colArr[0] = vec4(0.0); _colVec = vec4(1.0); }