st/nir: Gather info after applying lowering FS variant features
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 1 Nov 2018 18:57:09 +0000 (11:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 21 Dec 2018 23:29:30 +0000 (15:29 -0800)
commit3a78b46e59318e58aba87e44689925a3bc84fa88
tree7ac67095ef2250e8b593341770c56093c7696aaa
parentbcb6f19947d5e77e0a6636340dbfc55df5fcc788
st/nir: Gather info after applying lowering FS variant features

DrawPixels lowering, for example, adds new varyings that need to be
accounted for in inputs_read.  The earlier info gathering at link time
cannot account for this.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_program.c