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:
committed by
Marge Bot
parent
964a651e6f
commit
9f7029169b
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user