i965: Make unify_interfaces not spread VARYING_BIT_TESS_LEVEL_*.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 6 Dec 2016 10:45:52 +0000 (02:45 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Jan 2017 23:55:42 +0000 (15:55 -0800)
commit496693d4664f78dda5d9d9d2e94f2cb6e690a81e
tree0fdf3734f1b1d973bea6326c57222ec2597c075c
parenta46bd79ee195d699b020a8dde3fda6eab4ece0d4
i965: Make unify_interfaces not spread VARYING_BIT_TESS_LEVEL_*.

This is harmless today because gl_TessLevelInner/Outer in the TES is
currently treated as system values.  However, when we move to treating
them as inputs, this would cause a bug: with no TCS present, it would
propagate TES reads of VARYING_SLOT_TESS_LEVEL into the VS output VUE
map slots.  This is totally bogus - those don't even exist in the VS.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_link.cpp