From: Francisco Jerez Date: Thu, 18 Mar 2010 12:46:20 +0000 (+0100) Subject: dri/nouveau: Flush after texture validation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c0eab714816618314324ac02712fa59e5ed385a;p=mesa.git dri/nouveau: Flush after texture validation. Swizzling needs the destination surface in VRAM, but the subsequent rendering operations making use of it are likely to not care. Fire the ring after validation to leave the memory manager more room for maneuvering. --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_texture.c b/src/mesa/drivers/dri/nouveau/nouveau_texture.c index 20bc0f6688f..e89018653b1 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_texture.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_texture.c @@ -296,6 +296,8 @@ nouveau_texture_validate(GLcontext *ctx, struct gl_texture_object *t) validate_teximage(ctx, t, i, 0, 0, 0, s->width, s->height, 1); } + + FIRE_RING(context_chan(ctx)); } return GL_TRUE;