mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02: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>
(cherry picked from commit 9f7029169b)
This commit is contained in:
parent
87a3240d57
commit
f1dd0af4cd
2 changed files with 4 additions and 3 deletions
|
|
@ -472,7 +472,7 @@
|
|||
"description": "zink: make swapchain kill message more descriptive",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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