Commit ef0ccde3 authored by Eric Engestrom's avatar Eric Engestrom Committed by Dylan Baker

anv: fix format string in error message

Fixes: 9775894f ("anv: Move size check from anv_bo_cache_import() to caller (v2)")
Signed-off-by: Eric Engestrom's avatarEric Engestrom <>
Reviewed-by: Lionel Landwerlin's avatarLionel Landwerlin <>
(cherry picked from commit 7abf65ae)
parent ba255cdd
......@@ -89,7 +89,7 @@ VkResult anv_CreateDmaBufImageINTEL(
result = vk_errorf(device->instance, device,
"dma-buf too small for image in "
"vkCreateDmaBufImageINTEL: %"PRIu64"B < "PRIu64"B",
"vkCreateDmaBufImageINTEL: %"PRIu64"B < %"PRIu64"B",
mem->bo->size, aligned_image_size);
anv_bo_cache_release(device, &device->bo_cache, mem->bo);
goto fail_import;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment