summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-06-16 22:06:54 +1000
committerBen Skeggs <[email protected]>2008-06-29 15:46:19 +1000
commit94999d39d43d24a702f4cb55b515906d03a57277 (patch)
tree52604e4dc927bf9dfc0f78d0ceaf5acb6cd35ff3 /src/gallium/drivers/nv50
parent5d3070149267251bafc1ff982b77e7f422554f50 (diff)
nv50: fix blend colour
Diffstat (limited to 'src/gallium/drivers/nv50')
-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 b5a9195231b..9d93c04da7d 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);
}