projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d30701
)
nv50: fix blend colour
author
Ben Skeggs
<skeggsb@gmail.com>
Mon, 16 Jun 2008 12:06:54 +0000
(22:06 +1000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Sun, 29 Jun 2008 05:46:19 +0000
(15:46 +1000)
src/gallium/drivers/nv50/nv50_state_validate.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_state_validate.c
b/src/gallium/drivers/nv50/nv50_state_validate.c
index b5a9195231b9760c1b855e85ea9db615f86d1cf3..9d93c04da7d9d346f75d5ca59c93d3bc964add79 100644
(file)
--- 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);
}