zink: drop duplicate assignment to obj->alignment

The value resource_object_create obj->alignment is set again in
allocate_bo and the assignment uses a few more tests there.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27155>
This commit is contained in:
Gert Wollny
2024-01-22 10:28:31 +01:00
committed by Marge Bot
parent 063949063c
commit df9cbe431e

View File

@@ -1452,7 +1452,6 @@ resource_object_create(struct zink_screen *screen, const struct pipe_resource *t
case 1: return obj;
}
}
obj->alignment = reqs.alignment;
if (!update_alloc_info_flags(screen, templ, user_mem, &reqs, &alloc_info))
goto fail1;