diff options
author | Chad Versace <[email protected]> | 2015-08-18 11:30:38 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-08-18 11:48:50 -0700 |
commit | d52822541ee792516cfa5ab14e939ec66396f125 (patch) | |
tree | cee54856242e4f83fa7264df3764a826def25bd6 | |
parent | e7d3a5df5a226caa060b822bb87dc00c572aaf7f (diff) |
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.
-rw-r--r-- | src/vulkan/anv_image.c | 1 |
1 files changed, 0 insertions, 1 deletions
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: |