svga: Disable surface cache for textures
authorJakob Bornecrantz <jakob@vmware.com>
Thu, 17 Feb 2011 17:16:14 +0000 (17:16 +0000)
committerJakob Bornecrantz <jakob@vmware.com>
Fri, 18 Feb 2011 14:46:48 +0000 (14:46 +0000)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
src/gallium/drivers/svga/svga_resource_texture.c

index 3c6176a..3bb6ecf 100644 (file)
@@ -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;