svga: Disable surface cache for textures

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
This commit is contained in:
Jakob Bornecrantz 2011-02-17 17:16:14 +00:00
parent 912ad88742
commit e0481cac7d
1 changed files with 2 additions and 1 deletions

View 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;