[Mesa-dev] [PATCH] mesa: Update vertex processing mode on _mesa_UseProgram.

Clayton Craft clayton.a.craft at intel.com
Fri Feb 23 21:44:09 UTC 2018


On Fri, Feb 23, 2018 at 09:01:17PM +0100, Mathias.Froehlich at gmx.net wrote:
>From: Mathias Fröhlich <mathias.froehlich at web.de>
>
>Hi Clayton,
>
>The following change fixes the reported problem on my site.
>Please test/review!!
Just ran this through the CI and the previously failing test is now passing.

I can also set up the CI to automatically build a branch of your choice (e.g. in
your personal mesa repo) when you push to it, to help with testing your
commits before they are pushed to the master branch. Would you like for me to
do this?
If so, I just need to know the location of your repo and the branch you would
like pushes to trigger a CI build on.

>
>best
>
>Mathias
>
>
>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 at web.de>
>---
> src/mesa/main/shaderapi.c | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
>index d8a3031a38..b7bd7167e1 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);
> }
>
>
>-- 
>2.14.3
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180223/efc83558/attachment.sig>


More information about the mesa-dev mailing list