On 09/05/2011 06:34 PM, Yuanhan Liu 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. > > Signed-off-by: Yuanhan Liu <yuanhan....@linux.intel.com> > Signed-off-by: Xiang, Haihao <haihao.xi...@intel.com>
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev