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

Kenneth Graunke kenneth at whitecape.org
Tue Sep 6 09:24:29 PDT 2011

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.liu at linux.intel.com>
> Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

More information about the mesa-dev mailing list