From d52822541ee792516cfa5ab14e939ec66396f125 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 18 Aug 2015 11:30:38 -0700 Subject: 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. --- src/vulkan/anv_image.c | 1 - 1 file changed, 1 deletion(-) 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: -- cgit v1.2.3