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>
This commit is contained in:
Marek Olšák 2023-02-21 00:28:52 -05:00 committed by Marge Bot
parent 689ce66a43
commit 0293f8d8ce

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