bgfx/3rdparty/glsl-optimizer/tests/fragment/mrt-mixed-array-inES3.txt
2014-10-11 12:32:43 -07:00

14 lines
317 B
Plaintext

#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);
}