diff options
author | Francisco Jerez <[email protected]> | 2010-03-18 13:46:20 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2010-03-18 15:02:37 +0100 |
commit | 3c0eab714816618314324ac02712fa59e5ed385a (patch) | |
tree | 2d04256964d77ec9c7d580ceb4be0f80430d4f85 /src/mesa/drivers/dri/nouveau | |
parent | 6193c41bcd8c50d3f4fb38690061029866c37667 (diff) |
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.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_texture.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |