[Mesa-dev] [PATCH] nouveau: make sure to invalidate any vbo state as well

Ilia Mirkin imirkin at alum.mit.edu
Fri Aug 15 22:15:50 PDT 2014


Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: <mesa-stable at lists.freedesktop.org>
---

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



More information about the mesa-dev mailing list