From: Eric Anholt Date: Wed, 8 Dec 2010 03:29:26 +0000 (-0800) Subject: i965: Don't try to store gen6 (float) blend constant color in bytes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f07a744f127a232943101d5cc7fd533859c2ca9;p=mesa.git i965: Don't try to store gen6 (float) blend constant color in bytes. Fixes glean/blendFunc --- diff --git a/src/mesa/drivers/dri/i965/gen6_cc.c b/src/mesa/drivers/dri/i965/gen6_cc.c index 800a2555214..f51cf5f1120 100644 --- a/src/mesa/drivers/dri/i965/gen6_cc.c +++ b/src/mesa/drivers/dri/i965/gen6_cc.c @@ -172,7 +172,7 @@ const struct brw_tracked_state gen6_blend_state = { }; struct gen6_color_calc_state_key { - GLubyte blend_constant_color[4]; + float blend_constant_color[4]; GLclampf alpha_ref; GLubyte stencil_ref[2]; };