[Mesa-dev] [PATCH] i965: fix the constant interp bitmask for flat mode

Eric Anholt eric at anholt.net
Tue Sep 6 08:35:13 PDT 2011

On Tue,  6 Sep 2011 09:34:00 +0800, Yuanhan Liu <yuanhan.liu at linux.intel.com> wrote:
> Fix the constant interpolation enable bit mask for flat light mode.
> FRAG_BIT_COL0 attribute bit might be 0, in which case we need to
> shift one more bit right.
> This would fix the oglc specularColor test fail on both Sandybridge and
> Ivybridge.
> v2: move the constant interp bitmask setup code into for(; attr <
> FRAG_ATTRIB_MAX; attr++) loop suggested by Eric.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110906/4d7e547b/attachment.pgp>

More information about the mesa-dev mailing list