Re: [Mesa-dev] [PATCH 04/28] glsl: remove unused varyings before packing them

2016-01-05 Thread Anuj Phogat
On Mon, Dec 28, 2015 at 9:00 PM, Timothy Arceri wrote: > Previously we would pack varyings before trying to remove them, this > relied on the packing pass not packing varyings with a location of -1 > to avoid packing varyings that should be removed. > However this

[Mesa-dev] [PATCH 04/28] glsl: remove unused varyings before packing them

2015-12-28 Thread Timothy Arceri
Previously we would pack varyings before trying to remove them, this relied on the packing pass not packing varyings with a location of -1 to avoid packing varyings that should be removed. However this meant unused varyings with an explicit location would been packed before they could be removed