mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 06:18:10 +02:00
wsi: correct the erroneous assertion
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15452
Fixes: d50937f137 ("vulkan/wsi: Implement prime in a completely generic way")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41647>
This commit is contained in:
parent
d0253e25c4
commit
3d71e6553e
1 changed files with 1 additions and 1 deletions
|
|
@ -2738,7 +2738,7 @@ wsi_create_buffer_blit_context(const struct wsi_swapchain *chain,
|
|||
|
||||
VkMemoryRequirements reqs;
|
||||
wsi->GetBufferMemoryRequirements(chain->device, image->blit.buffer, &reqs);
|
||||
assert(reqs.size <= info->linear_size);
|
||||
assert(reqs.size >= info->linear_size);
|
||||
|
||||
struct wsi_memory_allocate_info memory_wsi_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_WSI_MEMORY_ALLOCATE_INFO_MESA,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue