mesa: Update vertex processing mode on _mesa_UseProgram.
authorMathias Fröhlich <mathias.froehlich@web.de>
Fri, 23 Feb 2018 19:46:20 +0000 (20:46 +0100)
committerMathias Fröhlich <mathias.froehlich@web.de>
Fri, 23 Feb 2018 20:08:35 +0000 (21:08 +0100)
commitb54bf0e3e3378725dec924f8152dcb012dffcd2e
treed37d826a74590679d86de8a9bf94bb369be9a2be
parentd169438d8ea8cd3a29d739eb284648a7723961cb
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>
src/mesa/main/shaderapi.c