svga: fix an error in svga_texture_generate_mipmap
authorCharmaine Lee <charmainel@vmware.com>
Mon, 29 Feb 2016 20:00:12 +0000 (12:00 -0800)
committerBrian Paul <brianp@vmware.com>
Fri, 4 Mar 2016 14:57:41 +0000 (07:57 -0700)
commit8366701f4cb6d297623607e922d151dc05f69811
tree7fab9bf50d90781ee369943d6fb1bb18ce9342fd
parent395c7b8fa17069fe996a63a8bca2bfd0fe3f16a0
svga: fix an error in svga_texture_generate_mipmap

With this patch, make sure the shader resource view is properly created
before referencing it in the generate mipmap command.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_resource_texture.c