summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2007-07-16 11:34:40 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-07-16 11:34:40 +0000
commit03105d7b3edb5ab7c77925fdfce832882a7191ab (patch)
tree09aa67a0922eca63fdf092ab8cbd20de27dda5c7 /src/mesa
parentaa9d77ca3c89c2b8119149ff3d49eec226dc80d1 (diff)
r300: Corrected position bug with position invariant option. Bug #11594.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertprog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c
index b73d215b58..7d8ac4c8c1 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)