From: Jakob Bornecrantz Date: Thu, 17 Feb 2011 17:16:14 +0000 (+0000) Subject: svga: Disable surface cache for textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0481cac7d57757d75a39763a1dd36b915979bb4;p=mesa.git svga: Disable surface cache for textures Signed-off-by: Jakob Bornecrantz --- diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c index 3c6176a5e86..3bb6ecf81f0 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;