mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
14 lines
317 B
Text
14 lines
317 B
Text
|
#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);
|
||
|
}
|