[Mesa-dev] [PATCH] nouveau: make sure to invalidate any vbo state as well
Francisco Jerez
currojerez at riseup.net
Fri Aug 15 23:17:26 PDT 2014
Ilia Mirkin <imirkin at alum.mit.edu> writes:
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
> ---
>
> This fixes a whole bunch of piglit tests, as one might imagine.
>
> src/mesa/drivers/dri/nouveau/nouveau_state.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/drivers/dri/nouveau/nouveau_state.c b/src/mesa/drivers/dri/nouveau/nouveau_state.c
> index b4ce849..f58caa3 100644
> --- a/src/mesa/drivers/dri/nouveau/nouveau_state.c
> +++ b/src/mesa/drivers/dri/nouveau/nouveau_state.c
> @@ -493,6 +493,7 @@ nouveau_update_state(struct gl_context *ctx, GLbitfield new_state)
>
> _swrast_InvalidateState(ctx, new_state);
> _tnl_InvalidateState(ctx, new_state);
> + _vbo_InvalidateState(ctx, new_state);
>
> nouveau_state_emit(ctx);
> }
> --
> 1.8.5.5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140816/77640622/attachment-0001.sig>
More information about the mesa-dev
mailing list