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.
This commit is contained in:
Ben Skeggs 2008-03-17 13:49:03 +11:00
parent 5c15b1276e
commit 767cd2ed6e

View file

@ -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;
}