mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
zink: improve oom error message
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17639>
This commit is contained in:
parent
2aab0a9c16
commit
011c02ce3c
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ bo_create_internal(struct zink_screen *screen,
|
|||
|
||||
VkResult ret = VKSCR(AllocateMemory)(screen->dev, &mai, NULL, &bo->mem);
|
||||
if (!zink_screen_handle_vkresult(screen, ret)) {
|
||||
mesa_loge("zink: couldn't allocate memory! from heap %u", heap);
|
||||
mesa_loge("zink: couldn't allocate memory: heap=%u size=%" PRIu64, heap, size);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue