mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
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:
parent
e7d3a5df5a
commit
d52822541e
1 changed files with 0 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue