diff options
author | Oliver McFadden <z3ro.geek@gmail.com> | 2007-07-16 11:34:40 +0000 |
---|---|---|
committer | Oliver McFadden <z3ro.geek@gmail.com> | 2007-07-16 11:34:40 +0000 |
commit | 03105d7b3edb5ab7c77925fdfce832882a7191ab (patch) | |
tree | 09aa67a0922eca63fdf092ab8cbd20de27dda5c7 /src/mesa/drivers | |
parent | aa9d77ca3c89c2b8119149ff3d49eec226dc80d1 (diff) |
r300: Corrected position bug with position invariant option. Bug #11594.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_vertprog.c | 1 |
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) |