anv: drop from_wsi bit from anv_image
It was originally introduced in ca791f5c
but it was never actually set
anywhere. It doesn't serve any purpose other than some sanity checking
so let's clean it up for now.
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15799>
This commit is contained in:

committed by
Marge Bot

parent
b5fa43952a
commit
0666b7fecc
@@ -919,7 +919,6 @@ check_memory_bindings(const struct anv_device *device,
|
||||
* live in a VkDeviceMemory. The one exception is swapchain images.
|
||||
*/
|
||||
assert(!(image->vk.create_flags & VK_IMAGE_CREATE_ALIAS_BIT) ||
|
||||
image->from_wsi ||
|
||||
image->bindings[ANV_IMAGE_MEMORY_BINDING_PRIVATE].memory_range.size == 0);
|
||||
|
||||
/* Check primary surface */
|
||||
|
@@ -3829,11 +3829,6 @@ struct anv_image {
|
||||
*/
|
||||
bool disjoint;
|
||||
|
||||
/**
|
||||
* Image is a WSI image
|
||||
*/
|
||||
bool from_wsi;
|
||||
|
||||
/**
|
||||
* Image was imported from an struct AHardwareBuffer. We have to delay
|
||||
* final image creation until bind time.
|
||||
|
Reference in New Issue
Block a user