projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da25331
)
r600: for position invariant programs reading vert_pos is not always known at this...
author
Andre Maasikas
<amaasikas@gmail.com>
Fri, 23 Oct 2009 11:25:09 +0000
(14:25 +0300)
committer
Andre Maasikas
<amaasikas@gmail.com>
Fri, 23 Oct 2009 14:16:23 +0000
(17:16 +0300)
src/mesa/drivers/dri/r600/r700_vertprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r700_vertprog.c
b/src/mesa/drivers/dri/r600/r700_vertprog.c
index c84b0ac05978c54fdc3db10f5d04b3e062946159..ffc6068bd88cbbf12076ced3ed4272b7a9b01c0c 100644
(file)
--- a/
src/mesa/drivers/dri/r600/r700_vertprog.c
+++ b/
src/mesa/drivers/dri/r600/r700_vertprog.c
@@
-515,6
+515,11
@@
void r700SetVertexFormat(GLcontext *ctx, const struct gl_client_array *arrays[],
unsigned int unBit = mesa_vp->Base.InputsRead;
context->nNumActiveAos = 0;
+ if (mesa_vp->IsPositionInvariant)
+ {
+ unBit |= VERT_BIT_POS;
+ }
+
while(unBit)
{
if(unBit & 1)