glsl: Make sure that packed varyings reflect always_active_io properly.
authorEric Anholt <eric@anholt.net>
Thu, 21 Jun 2018 23:39:15 +0000 (16:39 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 27 Jun 2018 16:35:55 +0000 (09:35 -0700)
commit6bb046cd2952c7d862becf9960bfc48e4b8db0a4
treecdac7f79818dd14c8a2131705a95f76c64ca7ca1
parentad1a4cb563f483a5767431adcc6a1a8f973326fd
glsl: Make sure that packed varyings reflect always_active_io properly.

The always_active_io flag was only set according to the first variable
that got packed in, so NIR io compaction would end up compacting XFB
varyings that shouldn't move at that point.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/lower_packed_varyings.cpp