summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2011-02-24 12:59:52 +0000
committerChris Wilson <[email protected]>2011-02-24 12:59:52 +0000
commitf19439940c43aa9d937716c6f1ee70cc26799e08 (patch)
treec59ad0edc18d0603c67d1afad3a99e37e1a56bfc /src
parent5ce0f7f10908a0636900bae783cb426a6c607673 (diff)
i965: Remember to pack the constant blend color as floats into the batch
Fixes regression from aac120977d1ead319141d48d65c9bba626ec03b8. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34597 Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'src')
-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 b7048ecb39b..412d82ab3ca 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(ctx->Color.BlendColor[0]);
- OUT_BATCH(ctx->Color.BlendColor[1]);
- OUT_BATCH(ctx->Color.BlendColor[2]);
- OUT_BATCH(ctx->Color.BlendColor[3]);
+ 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]);
CACHED_BATCH();
}