mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
vbo: Remove vbo...recalculate_inputs from vbo_exec_invalidate_state.
This flag is now set when the actual Array._DrawVAO changes. So setting this flag is redundant here. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
This commit is contained in:
parent
bf328359a7
commit
9f5b6ef2ef
1 changed files with 0 additions and 8 deletions
|
|
@ -206,16 +206,8 @@ vbo_exec_invalidate_state(struct gl_context *ctx)
|
|||
struct vbo_exec_context *exec = &vbo->exec;
|
||||
|
||||
if (ctx->NewState & (_NEW_PROGRAM | _NEW_ARRAY)) {
|
||||
exec->array.recalculate_inputs = GL_TRUE;
|
||||
|
||||
_ae_invalidate_state(ctx);
|
||||
}
|
||||
/* If _mesa_update_state is called in a non draw code path,
|
||||
* changes in the VAO need to be captured.
|
||||
*/
|
||||
if (ctx->Array.VAO->NewArrays)
|
||||
exec->array.recalculate_inputs = GL_TRUE;
|
||||
|
||||
if (ctx->NewState & _NEW_EVAL)
|
||||
exec->eval.recalculate_maps = GL_TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue