This is undefined.
>From the OpenGL 4.5 (Core Profile) spec, 7.4.1 Shader Interface Matching,
p119:
"At an interface between program objects, the set of inputs and outputs are
considered to
match exactly if and only if:
* Every declared input block or variable must have a matching output, as
Mesa treats each GS input as taking up 3 locations instead of 1, because
it doesn't de-array the vars. This causes it to take col3 from VS
instead of col1.
Signed-off-by: Ilia Mirkin
---
.../execution/vs-gs-linking.shader_test| 57 ++
1 file
On Thu, 2016-01-21 at 08:45 -0500, Ilia Mirkin wrote:
> Mesa treats each GS input as taking up 3 locations instead of 1,
> because
> it doesn't de-array the vars. This causes it to take col3 from VS
> instead of col1.
>
> Signed-off-by: Ilia Mirkin
As discussed on IRC the