Module: Mesa Branch: main Commit: 0293f8d8ce8ff6175d9818874976584b81bd7a56 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0293f8d8ce8ff6175d9818874976584b81bd7a56
Author: Marek Olšák <[email protected]> Date: Tue Feb 21 00:28:52 2023 -0500 mesa: fix glPopClientAttrib with fixed-func VP and zero-stride varyings This was missed. Fixes: 3a294ff01fb9d1d8b - mesa: move the _mesa_set_varying_vp_inputs call to where the state changes Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8246 Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21438> --- src/mesa/main/attrib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index f2eaddf09a4..af8816f1f05 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1313,6 +1313,8 @@ restore_array_attrib(struct gl_context *ctx, } _mesa_update_edgeflag_state_vao(ctx); + _mesa_set_varying_vp_inputs(ctx, ctx->VertexProgram._VPModeInputFilter & + ctx->Array.VAO->_EnabledWithMapMode); }
