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