bgfx/3rdparty/glsl-optimizer/tests/fragment/mrt-mixed-array-inES3.txt

14 lines
317 B
Text
Raw Normal View History

2014-10-11 15:32:43 -04:00
#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);
}