On Tue, 6 Sep 2011 09:34:00 +0800, Yuanhan Liu <yuanhan....@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 <e...@anholt.net>
pgp5RYx0RGMGj.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev