From: Chad Versace Date: Tue, 18 Aug 2015 18:30:38 +0000 (-0700) Subject: vk/image: Don't set anv_surface_view::offset twice X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d52822541ee792516cfa5ab14e939ec66396f125;p=mesa.git 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. --- diff --git a/src/vulkan/anv_image.c b/src/vulkan/anv_image.c index 0152fef9ffb..f24acdb0fac 100644 --- a/src/vulkan/anv_image.c +++ b/src/vulkan/anv_image.c @@ -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: