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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user