glsl: add support for explicit components to frag outputs
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 17 May 2016 01:15:27 +0000 (11:15 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 24 May 2016 02:46:48 +0000 (12:46 +1000)
commit72449c477ee3d3ecb825a49ea2fc2121a6c553e0
tree69793a2f335b6336b45ab0ade4c5d5b1226ca411
parent37266dfb7c747536d254b32eefa9222c60a37508
glsl: add support for explicit components to frag outputs

V2: fix error checking for arrays and components. V1 was
only taking into account all the array elements and all the
components of one of the varyings during the comparision
and treating the other as a single slot/component.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/compiler/glsl/linker.cpp