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 3c6176a5e862c073b86d0473d38ac31a2361ace2..3bb6ecf81f03f23c4977d8fd72f7e858094d13cb 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;