Mesa (master): i965: Don't try to store gen6 (float) blend constant color in bytes.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Dec 8 03:34:33 UTC 2010
Module: Mesa
Branch: master
Commit: 2f07a744f127a232943101d5cc7fd533859c2ca9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f07a744f127a232943101d5cc7fd533859c2ca9
Author: Eric Anholt <eric at anholt.net>
Date: Tue Dec 7 19:29:26 2010 -0800
i965: Don't try to store gen6 (float) blend constant color in bytes.
Fixes glean/blendFunc
---
src/mesa/drivers/dri/i965/gen6_cc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/gen6_cc.c b/src/mesa/drivers/dri/i965/gen6_cc.c
index 800a255..f51cf5f 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];
};
More information about the mesa-commit
mailing list