projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c15b12
)
nv40: workaround main swtnl breakage
author
Ben Skeggs
<skeggsb@gmail.com>
Mon, 17 Mar 2008 02:49:03 +0000
(13:49 +1100)
committer
Ben Skeggs
<skeggsb@gmail.com>
Mon, 17 Mar 2008 02:53:44 +0000
(13:53 +1100)
Not sure where the real bug is here yet, but for now this gives us correct
rendering in far more cases than previously.
src/gallium/drivers/nv40/nv40_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv40/nv40_draw.c
b/src/gallium/drivers/nv40/nv40_draw.c
index ce0e0bc6f2377248b29a4485fb879abd60db222b..eb4f2395c4811e9a2f0683487e14a535a5a68c03 100644
(file)
--- a/
src/gallium/drivers/nv40/nv40_draw.c
+++ b/
src/gallium/drivers/nv40/nv40_draw.c
@@
-335,7
+335,7
@@
nv40_state_vtxfmt_validate(struct nv40_context *nv40)
emit_attrib(nv40, 5, EMIT_1F, TGSI_SEMANTIC_FOG, 0);
}
- emit_attrib(nv40, 0, EMIT_
4
F, TGSI_SEMANTIC_POSITION, 0);
+ emit_attrib(nv40, 0, EMIT_
3
F, TGSI_SEMANTIC_POSITION, 0);
return FALSE;
}