i965/fs: Fix the FS inputs setup when some SF outputs aren't used in the FS.
authorOlivier Galibert <galibert@pobox.com>
Thu, 19 Jul 2012 20:00:16 +0000 (22:00 +0200)
committerEric Anholt <eric@anholt.net>
Thu, 9 Aug 2012 16:07:49 +0000 (09:07 -0700)
commit7426d9d7699452f15f3288e781e1791d8d00a64a
tree28f136033bfadb37dcf663a59a9dcc6ea7aded4d
parent34665381713249c29b7da5028396222dfea477c2
i965/fs: Fix the FS inputs setup when some SF outputs aren't used in the FS.

If there was an edge flag or a two-side-color pair present, we'd end up
mismatched and read values from earlier in the VUE for later FS inputs.

v2: Fix regression in gles2conform shaders generating point size. (change by
    anholt)

Signed-off-by: Olivier Galibert <galibert@pobox.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
NOTE: This is a candidate for the 8.0 branch.
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_wm_pass2.c