2013-04-09 01:20:01 +00:00
|
|
|
#version 300 es
|
2013-06-19 05:41:25 +00:00
|
|
|
precision mediump float;
|
2013-04-09 01:20:01 +00:00
|
|
|
in vec4 pos;
|
2013-04-10 23:30:05 +00:00
|
|
|
layout (location = 2) in vec4 color; // ERROR
|
2013-04-09 01:20:01 +00:00
|
|
|
|
2013-04-10 23:30:05 +00:00
|
|
|
layout(location = 1) out vec4 c;
|
2013-04-09 01:20:01 +00:00
|
|
|
layout(location = 3) out vec4 p;
|
2013-04-10 23:30:05 +00:00
|
|
|
layout(location = 4) out vec4 q[2];
|
2013-04-09 01:20:01 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
c = color;
|
|
|
|
p = pos;
|
2013-04-10 23:30:05 +00:00
|
|
|
q[1] = pos;
|
2013-04-09 01:20:01 +00:00
|
|
|
}
|
2013-12-05 20:07:56 +00:00
|
|
|
|
2014-08-14 07:07:21 +00:00
|
|
|
layout(location = 40) out float ca[4]; // ERROR, overlap, ERROR too big
|
|
|
|
layout(location = 41) out float cb[2]; // ERROR, overlap, ERROR too big
|
|
|
|
layout(location = 39) out float cc[6]; // ERROR, overlap, ERROR too big
|