glsl: update explicit location matching to support component qualifier
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 22 Dec 2015 05:37:40 +0000 (16:37 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sun, 1 May 2016 13:13:15 +0000 (23:13 +1000)
commit0317dfcd9b32e37d5a993662c8cab75fbdbed44e
treeb9fdd153b70b8007c4f89105644b26f6bb369465
parent0d88b15f073d09afed1747d9cdde98f15c7aa28d
glsl: update explicit location matching to support component qualifier

This is needed so we don't optimise away the varying when more than
one shares the same location.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/linker.cpp