summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_cc.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-04-15 14:40:09 -0700
committerEric Anholt <eric@anholt.net>2011-04-20 10:35:42 -0700
commitd22e2ebe35ef9d33ec5f7a67f903f36bcd9fbc91 (patch)
tree565639b9748d0eaa5e55ff455799fdaf4c4fc83f /src/mesa/drivers/dri/i965/brw_cc.c
parent99fa449bb9cf93a8dd2b840804c5bc44e51483dc (diff)
downloadexternal_mesa3d-d22e2ebe35ef9d33ec5f7a67f903f36bcd9fbc91.zip
external_mesa3d-d22e2ebe35ef9d33ec5f7a67f903f36bcd9fbc91.tar.gz
external_mesa3d-d22e2ebe35ef9d33ec5f7a67f903f36bcd9fbc91.tar.bz2
intel: Add support for ARB_color_buffer_float.
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_cc.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_cc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cc.c b/src/mesa/drivers/dri/i965/brw_cc.c
index 412d82a..74a66af 100644
--- a/src/mesa/drivers/dri/i965/brw_cc.c
+++ b/src/mesa/drivers/dri/i965/brw_cc.c
@@ -238,10 +238,10 @@ static void upload_blend_constant_color(struct brw_context *brw)
BEGIN_BATCH(5);
OUT_BATCH(_3DSTATE_BLEND_CONSTANT_COLOR << 16 | (5-2));
- OUT_BATCH_F(ctx->Color.BlendColor[0]);
- OUT_BATCH_F(ctx->Color.BlendColor[1]);
- OUT_BATCH_F(ctx->Color.BlendColor[2]);
- OUT_BATCH_F(ctx->Color.BlendColor[3]);
+ OUT_BATCH_F(ctx->Color.BlendColorUnclamped[0]);
+ OUT_BATCH_F(ctx->Color.BlendColorUnclamped[1]);
+ OUT_BATCH_F(ctx->Color.BlendColorUnclamped[2]);
+ OUT_BATCH_F(ctx->Color.BlendColorUnclamped[3]);
CACHED_BATCH();
}