mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
venus: remove obsolete asserts for ANB image creation
Those have long been supported by vn_image_deferred_info_init because of
AHB support. For non-aliased ANB image, those are directly passed from
the platform swapchain create info as well. So we just need to drop the
obsolete asserts to make newer Android platform and ANGLE happy.
Cc: mesa-stable
(cherry picked from commit 091c4f43ff)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39969>
This commit is contained in:
parent
ef44834cb4
commit
c78d272958
2 changed files with 1 additions and 7 deletions
|
|
@ -1324,7 +1324,7 @@
|
|||
"description": "venus: remove obsolete asserts for ANB image creation",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -258,12 +258,6 @@ vn_android_image_from_anb_internal(struct vn_device *dev,
|
|||
struct vn_image *img = NULL;
|
||||
VkResult result;
|
||||
|
||||
assert(!(create_info->flags & VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT));
|
||||
assert(!vk_find_struct_const(create_info->pNext,
|
||||
IMAGE_FORMAT_LIST_CREATE_INFO));
|
||||
assert(!vk_find_struct_const(create_info->pNext,
|
||||
IMAGE_STENCIL_USAGE_CREATE_INFO));
|
||||
|
||||
struct vn_android_image_builder builder;
|
||||
result = vn_android_get_image_builder(dev, create_info, anb_info->handle,
|
||||
&builder);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue