aboutsummaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_vb_program.c')
-rw-r--r--src/mesa/tnl/t_vb_program.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c
index 38b04b4..aedfb4e 100644
--- a/src/mesa/tnl/t_vb_program.c
+++ b/src/mesa/tnl/t_vb_program.c
@@ -355,7 +355,10 @@ static void dtr( struct tnl_pipeline_stage *stage )
const struct tnl_pipeline_stage _tnl_vertex_program_stage =
{
"vertex-program",
- _NEW_ALL, /*XXX FIX */ /* recheck */
+ _NEW_PROGRAM, /* recheck: check_vp() only reads
+ * VertexProgram._Enabled and
+ * Current->InputsRead, both always
+ * flushed with _NEW_PROGRAM */
_NEW_ALL, /*XXX FIX */ /* recalc */
GL_FALSE, /* active */
0, /* inputs - calculated on the fly */