diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-03-17 13:49:03 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-03-17 13:53:44 +1100 |
commit | 767cd2ed6e97ae09526b15728495f361d5e22cb2 (patch) | |
tree | 8f041dda8c243cdbe70a7ac30204b0b8f276ff6d | |
parent | 5c15b1276ed56064382197d73d9d357201e5f71f (diff) |
nv40: workaround main swtnl breakage
Not sure where the real bug is here yet, but for now this gives us correct
rendering in far more cases than previously.
-rw-r--r-- | src/gallium/drivers/nv40/nv40_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_draw.c b/src/gallium/drivers/nv40/nv40_draw.c index ce0e0bc6f2..eb4f2395c4 100644 --- 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_4F, TGSI_SEMANTIC_POSITION, 0); + emit_attrib(nv40, 0, EMIT_3F, TGSI_SEMANTIC_POSITION, 0); return FALSE; } |