summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-04-19 12:23:07 +0000
committerKeith Whitwell <[email protected]>2001-04-19 12:23:07 +0000
commit3004bf8fd70e0cf3f68c6ddbd78101d851a49ae2 (patch)
treeda83e03a46dd1eef944935b25ad7468f5a06c82f
parent2b7c042525c6895016ab547745b15880b2751f36 (diff)
Remove values from VB->importable_data as those arrays are removed
from the VB.
-rw-r--r--src/mesa/tnl/t_pipeline.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_pipeline.c b/src/mesa/tnl/t_pipeline.c
index 2cbbb4d6a40..81f3b078f21 100644
--- a/src/mesa/tnl/t_pipeline.c
+++ b/src/mesa/tnl/t_pipeline.c
@@ -1,4 +1,4 @@
-/* $Id: t_pipeline.c,v 1.15 2001/03/19 02:25:37 keithw Exp $ */
+/* $Id: t_pipeline.c,v 1.16 2001/04/19 12:23:07 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -119,6 +119,7 @@ void _tnl_validate_pipeline( GLcontext *ctx )
void _tnl_run_pipeline( GLcontext *ctx )
{
TNLcontext *tnl = TNL_CONTEXT(ctx);
+ struct vertex_buffer *VB = &tnl->vb;
struct gl_pipeline *pipe = &tnl->pipeline;
struct gl_pipeline_stage *s = pipe->stages;
GLuint changed_state = pipe->run_state_changes;
@@ -145,7 +146,6 @@ void _tnl_run_pipeline( GLcontext *ctx )
s->changed_inputs |= s->inputs & changed_inputs;
if (s->run_state & changed_state) {
-/* changed_inputs |= s->check(ctx, s); */
s->changed_inputs = s->inputs;
}
@@ -156,6 +156,7 @@ void _tnl_run_pipeline( GLcontext *ctx )
/* fprintf(stderr, "run %s\n", s->name); */
running = s->run( ctx, s );
+ VB->importable_data &= ~s->outputs;
}
}
}