svga: mark dest image as defined in svga_surface_copy()
authorBrian Paul <brianp@vmware.com>
Thu, 14 Nov 2013 20:33:52 +0000 (13:33 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 15 Nov 2013 17:23:48 +0000 (10:23 -0700)
commit3969330b47c5b7f7843f356db0a10962553339a6
tree1e6f7d876ea3620e55a414088bc0429cad542c60
parent79984b9928d4444665ce617a1e4551e53d415bd4
svga: mark dest image as defined in svga_surface_copy()

After we blit/copy to a dest texture image we need to mark it as
being defined.  This fixes broken mipmap generation for quite a
few texture formats.  Mipgen involves making texture views and
svga_texture_view_surface() skips texture images that are undefined.

Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/svga/svga_pipe_blit.c