projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa9d77c
)
r300: Corrected position bug with position invariant option. Bug #11594.
author
Oliver McFadden
<z3ro.geek@gmail.com>
Mon, 16 Jul 2007 11:34:40 +0000
(11:34 +0000)
committer
Oliver McFadden
<z3ro.geek@gmail.com>
Mon, 16 Jul 2007 11:34:40 +0000
(11:34 +0000)
src/mesa/drivers/dri/r300/r300_vertprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_vertprog.c
b/src/mesa/drivers/dri/r300/r300_vertprog.c
index b73d215b5880fd66aabd902979e517de54ad415b..7d8ac4c8c1302a81f5a7233b263ce73410206ceb 100644
(file)
--- 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)