mesa: Update vertex processing mode on _mesa_UseProgram.

The change is a bug fix for 92d76a169:
  mesa: Provide an alternative to get_vp_mode()
that actually got exposed through 4562a7b0:
  vbo: Make use of _DrawVAO from the dlist code.

Fixes: KHR-GLES31.core.shader_image_load_store.advanced-sso-simple
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105229
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Mathias Fröhlich 2018-02-23 20:46:20 +01:00
parent d169438d8e
commit b54bf0e3e3

View file

@ -2069,6 +2069,8 @@ use_program(GLuint program, bool no_error)
_mesa_BindProgramPipeline(ctx->Pipeline.Current->Name);
}
}
_mesa_update_vertex_processing_mode(ctx);
}