glsl: pass disable_varying_packing bool to the lowering pass
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 24 Nov 2015 01:56:45 +0000 (12:56 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 17 Mar 2016 23:26:30 +0000 (10:26 +1100)
commitc0ae6eeb3b0ea42344cc91cd0caa7bd0296172d4
tree8bbe398e506ac065b88d55bad48968511d5ed88e
parent4ab2ac334921ae9bbd1791adaf8977fccf744580
glsl: pass disable_varying_packing bool to the lowering pass

This will allow us to choose to ignore the disable which will be
useful for more fine grained control over when to enable or disable
packing.

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/ir_optimization.h
src/compiler/glsl/link_varyings.cpp
src/compiler/glsl/lower_packed_varyings.cpp