mesa: fix glPopClientAttrib with fixed-func VP and zero-stride varyings

This was missed.

Fixes: 3a294ff01f - 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 <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21438>
(cherry picked from commit 0293f8d8ce)
This commit is contained in:
Marek Olšák 2023-02-21 00:28:52 -05:00 committed by Dylan Baker
parent ad6a3696cc
commit a53b7f1ccb
2 changed files with 3 additions and 1 deletions

View file

@ -5530,7 +5530,7 @@
"description": "mesa: fix glPopClientAttrib with fixed-func VP and zero-stride varyings",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "3a294ff01fb9d1d8b4f984a364ed7ef469624c49"
},

View file

@ -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);
}