diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index fe99cfcfd87..7422ccdaf9e 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -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 */ diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 412c9e430ce..b13ef5124af 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -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.