i965: Don't try to store gen6 (float) blend constant color in bytes.
authorEric Anholt <eric@anholt.net>
Wed, 8 Dec 2010 03:29:26 +0000 (19:29 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 8 Dec 2010 03:33:47 +0000 (19:33 -0800)
Fixes glean/blendFunc

src/mesa/drivers/dri/i965/gen6_cc.c

index 800a255..f51cf5f 100644 (file)
@@ -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];
 };