summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_state_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_state_validate.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_state_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index b5a9195231..9d93c04da7 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -135,11 +135,11 @@ nv50_state_validate(struct nv50_context *nv50)
if (nv50->dirty & NV50_NEW_BLEND_COLOUR) {
so = so_new(5, 0);
- so_method(so, tesla, NV50TCL_BLEND_COLOR(0), 8);
- so_data (so, fui(nv50->blend_colour.color[3]));
+ so_method(so, tesla, NV50TCL_BLEND_COLOR(0), 4);
so_data (so, fui(nv50->blend_colour.color[0]));
so_data (so, fui(nv50->blend_colour.color[1]));
so_data (so, fui(nv50->blend_colour.color[2]));
+ so_data (so, fui(nv50->blend_colour.color[3]));
so_emit(nvws, so);
so_ref(NULL, &so);
}