mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
zink: make swapchain kill message more descriptive
cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16776>
This commit is contained in:
parent
964a651e6f
commit
9f7029169b
1 changed files with 3 additions and 2 deletions
|
|
@ -750,8 +750,9 @@ zink_kopper_update(struct pipe_screen *pscreen, struct pipe_resource *pres, int
|
|||
*h = res->base.b.height0;
|
||||
return true;
|
||||
}
|
||||
if (update_caps(screen, cdt) != VK_SUCCESS) {
|
||||
mesa_loge("zink: failed to update swapchain capabilities");
|
||||
VkResult ret = update_caps(screen, cdt);
|
||||
if (ret != VK_SUCCESS) {
|
||||
mesa_loge("zink: failed to update swapchain capabilities: %s", vk_Result_to_str(ret));
|
||||
cdt->is_kill = true;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue