diff options
-rw-r--r-- | src/gallium/drivers/svga/svga_resource_texture.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c index 92286f90fb7..c5b830660f5 100644 --- a/src/gallium/drivers/svga/svga_resource_texture.c +++ b/src/gallium/drivers/svga/svga_resource_texture.c @@ -433,8 +433,7 @@ svga_texture_create(struct pipe_screen *screen, tex->key.numFaces = 1; } - /* XXX: Disabled for now */ - tex->key.cachable = 0; + tex->key.cachable = 1; if (template->bind & PIPE_BIND_SAMPLER_VIEW) tex->key.flags |= SVGA3D_SURFACE_HINT_TEXTURE; |