glsl: do not loose always_active_io when packing varyings
authorTapani Pälli <tapani.palli@intel.com>
Wed, 9 Dec 2015 07:48:57 +0000 (09:48 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 10 Dec 2015 05:51:55 +0000 (07:51 +0200)
commit8cc372b6d910c4d3b59066cbb47434da0d765196
treeb940836be02b253acbf9109383a34b2589ce358e
parent2377db2c4e87ad7d418f1f3218b501c1a0cd8373
glsl: do not loose always_active_io when packing varyings

Otherwise packed and inactive varyings get optimized away. This needs
to be prevented when using separate shader objects where interface
needs to be preserved.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/glsl/lower_packed_varyings.cpp