nir: remove field only used in GLSL IR when assigning varying locations
authorTimothy Arceri <timothy.arceri@collabora.com>
Mon, 21 Dec 2015 22:44:38 +0000 (09:44 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 22 Dec 2015 06:08:03 +0000 (17:08 +1100)
commit54daffef167974989368b4c1f9657d878a9e2411
tree8c850a677b54cc6b2566436dc30a9b33c7580a2d
parenta8c474760268f2ebdddd655cea06dbef4500236a
nir: remove field only used in GLSL IR when assigning varying locations

This field is used as a flag to optimise out any varyings that don't have
a matching varying on the other side of the interface.

The value should be the same for all varyings (except for SSO but we can't
optimise those) by the time they reach nir and are no longer be needed.

Acked-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir.h