mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
13 lines
317 B
Text
13 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);
|
|
}
|