[Mesa-dev] [PATCH 8/9] vbo: Remove now duplicate _vbo_update_inputs from dlist draw.

Mathias.Froehlich at gmx.net Mathias.Froehlich at gmx.net
Fri Mar 16 05:48:20 UTC 2018


From: Mathias Fröhlich <mathias.froehlich at web.de>

At the current state, _vbo_update_inputs is called from
the draw callback if vbo...recalculate_inputs is set.
But that is now set of the _DrawVAO or its content or the
vertex program mode is changed.
So remove _vbo_update_inputs from the direct dlist draw path.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>
---
 src/mesa/vbo/vbo_save_draw.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c
index ed3b50434f..096e43c816 100644
--- a/src/mesa/vbo/vbo_save_draw.c
+++ b/src/mesa/vbo/vbo_save_draw.c
@@ -206,9 +206,6 @@ vbo_save_playback_vertex_list(struct gl_context *ctx, void *data)
          return;
       }
 
-      /* Finally update the inputs array */
-      _vbo_update_inputs(ctx, &vbo->draw_arrays);
-
       assert(ctx->NewState == 0);
 
       if (node->vertex_count > 0) {
-- 
2.14.3



More information about the mesa-dev mailing list