See http://patchwork.freedesktop.org/patch/18053/ --- src/gallium/drivers/svga/svga_resource_texture.c +++ src/gallium/drivers/svga/svga_resource_texture.c @@ -205,7 +205,10 @@ svga_texture_get_handle(struct pipe_screen *screen, struct svga_winsys_screen *sws = svga_winsys_screen(texture->screen); unsigned stride; - assert(svga_texture(texture)->key.cachable == 0); + if (svga_texture(texture)->key.cachable) { + debug_warn_once("svga: texture->key.cachable=1"); + } + svga_texture(texture)->key.cachable = 0; stride = util_format_get_nblocksx(texture->format, texture->width0) * util_format_get_blocksize(texture->format);