diff options
author | Mathias Fröhlich <[email protected]> | 2018-02-23 20:46:20 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-02-23 21:08:35 +0100 |
commit | b54bf0e3e3378725dec924f8152dcb012dffcd2e (patch) | |
tree | d37d826a74590679d86de8a9bf94bb369be9a2be /src | |
parent | d169438d8ea8cd3a29d739eb284648a7723961cb (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/shaderapi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 59089a12b0c..76bad7f31ea 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -2069,6 +2069,8 @@ use_program(GLuint program, bool no_error) _mesa_BindProgramPipeline(ctx->Pipeline.Current->Name); } } + + _mesa_update_vertex_processing_mode(ctx); } |