i965: Fix bug in the old FS backend's projtex() calculation.
authorEric Anholt <eric@anholt.net>
Tue, 14 Aug 2012 01:08:56 +0000 (18:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 17 Aug 2012 17:05:34 +0000 (10:05 -0700)
commitd707e337f5f9a7b6ed465ade1b0b7c06606dde22
treecb5314ee17d7d09a714f247e34e9abc049e242e5
parent3df13b32e56dbc76bdc72b75ea1462f79b44dce9
i965: Fix bug in the old FS backend's projtex() calculation.

In the old backend, we looked at any FS attribute's proj_attrib_mask bits, not
just texcoords.  Now that we have _mesa_vert_result_to_frag_attrib(), we can
fill in the other FS inputs with correct proj_attrib_mask info.

NOTE: This is a candidate for stable branches.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46644
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vs_constval.c