glsl: don't change the varying type in validation code
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 23 Dec 2015 03:26:49 +0000 (14:26 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 5 Jan 2016 23:52:58 +0000 (10:52 +1100)
commite1e1b678785e112326cc68c40990460deff05abc
tree6b4dbd211b542bf3cffde91c6c2a3601e879a803
parent21590a307cac5cf9fc963f0700131c2d8b0d9731
glsl: don't change the varying type in validation code

There is a function dedicated to demoting unused varyings lets
trust it to do its job.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/glsl/link_varyings.cpp