From: Oliver McFadden Date: Mon, 16 Jul 2007 11:34:40 +0000 (+0000) Subject: r300: Corrected position bug with position invariant option. Bug #11594. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03105d7b3edb5ab7c77925fdfce832882a7191ab;p=mesa.git r300: Corrected position bug with position invariant option. Bug #11594. --- diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c index b73d215b588..7d8ac4c8c13 100644 --- a/src/mesa/drivers/dri/r300/r300_vertprog.c +++ b/src/mesa/drivers/dri/r300/r300_vertprog.c @@ -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)