projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee30f3
)
fix vp lockups due to incorrectly set up / emitted attrib inputs.
author
Roland Scheidegger
<rscheidegger@gmx.ch>
Sun, 5 Nov 2006 23:13:19 +0000
(23:13 +0000)
committer
Roland Scheidegger
<rscheidegger@gmx.ch>
Sun, 5 Nov 2006 23:13:19 +0000
(23:13 +0000)
src/mesa/drivers/dri/r200/r200_tcl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_tcl.c
b/src/mesa/drivers/dri/r200/r200_tcl.c
index 3334d1e15661f6c74758aed0a9092762439fdc32..86edf7132ce055a30594e8e9549d84a561c2779f 100644
(file)
--- a/
src/mesa/drivers/dri/r200/r200_tcl.c
+++ b/
src/mesa/drivers/dri/r200/r200_tcl.c
@@
-384,7
+384,7
@@
static GLboolean r200_run_tcl_render( GLcontext *ctx,
r200ContextPtr rmesa = R200_CONTEXT(ctx);
TNLcontext *tnl = TNL_CONTEXT(ctx);
struct vertex_buffer *VB = &tnl->vb;
- GLuint inputs =
VERT_BIT_POS | VERT_BIT_COLOR
0;
+ GLuint inputs = 0;
GLuint i;
/* TODO: separate this from the swtnl pipeline
@@
-404,6
+404,7
@@
static GLboolean r200_run_tcl_render( GLcontext *ctx,
r200ValidateState( ctx );
if (!ctx->VertexProgram._Enabled) {
+ inputs = VERT_BIT_POS | VERT_BIT_COLOR0;
/* NOTE: inputs != tnl->render_inputs - these are the untransformed
* inputs.
*/