r300: Corrected position bug with position invariant option. Bug #11594.

This commit is contained in:
Oliver McFadden
2007-07-16 11:34:40 +00:00
parent aa9d77ca3c
commit 03105d7b3e
@@ -1349,6 +1349,7 @@ void r300SelectVertexShader(r300ContextPtr r300)
if (vpc->mesa_program.IsPositionInvariant) {
/* we wan't position don't we ? */
wanted_key.InputsRead |= (1 << VERT_ATTRIB_POS);
wanted_key.OutputsWritten |= (1 << VERT_RESULT_HPOS);
}
for (vp = vpc->progs; vp; vp = vp->next)