mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
zink: remove broken kopper assert
in a single-buffered scenario this can and does happen Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17149>
This commit is contained in:
parent
9625e99110
commit
cb306a0adb
1 changed files with 0 additions and 2 deletions
|
|
@ -482,7 +482,6 @@ kopper_acquire(struct zink_screen *screen, struct zink_resource *res, uint64_t t
|
|||
if (ret != VK_SUCCESS)
|
||||
return ret;
|
||||
}
|
||||
ASSERTED unsigned prev = res->obj->dt_idx;
|
||||
ret = VKSCR(AcquireNextImageKHR)(screen->dev, cdt->swapchain->swapchain, timeout, acquire, VK_NULL_HANDLE, &res->obj->dt_idx);
|
||||
if (ret != VK_SUCCESS && ret != VK_SUBOPTIMAL_KHR) {
|
||||
if (ret == VK_ERROR_OUT_OF_DATE_KHR) {
|
||||
|
|
@ -492,7 +491,6 @@ kopper_acquire(struct zink_screen *screen, struct zink_resource *res, uint64_t t
|
|||
VKSCR(DestroySemaphore)(screen->dev, acquire, NULL);
|
||||
return ret;
|
||||
}
|
||||
assert(prev != res->obj->dt_idx);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue