vk/image: Don't set anv_surface_view::offset twice

It was set twice a few lines apart, and the second setting always
overrode the first.
This commit is contained in:
Chad Versace 2015-08-18 11:30:38 -07:00
parent e7d3a5df5a
commit d52822541e

View file

@ -354,7 +354,6 @@ anv_image_view_init(struct anv_image_view *iview,
break;
case VK_IMAGE_ASPECT_DEPTH:
case VK_IMAGE_ASPECT_COLOR:
view->offset = image->offset;
surface = &image->primary_surface;
break;
default: