Mesa (master): svga: Disable surface cache for textures
Jakob Bornecrantz
wallbraker at kemper.freedesktop.org
Fri Feb 18 14:49:26 UTC 2011
Module: Mesa
Branch: master
Commit: e0481cac7d57757d75a39763a1dd36b915979bb4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0481cac7d57757d75a39763a1dd36b915979bb4
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Thu Feb 17 17:16:14 2011 +0000
svga: Disable surface cache for textures
Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
---
src/gallium/drivers/svga/svga_resource_texture.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c
index 3c6176a..3bb6ecf 100644
--- a/src/gallium/drivers/svga/svga_resource_texture.c
+++ b/src/gallium/drivers/svga/svga_resource_texture.c
@@ -521,7 +521,8 @@ svga_texture_create(struct pipe_screen *screen,
tex->key.numFaces = 1;
}
- tex->key.cachable = 1;
+ /* XXX: Disabled for now */
+ tex->key.cachable = 0;
if (template->bind & PIPE_BIND_SAMPLER_VIEW)
tex->key.flags |= SVGA3D_SURFACE_HINT_TEXTURE;
More information about the mesa-commit
mailing list