Merge branch 'github/fork/emersion/vulkan-allocator' into 'master'

Draft: Vulkan allocator

See merge request wlroots/wlroots!2648
This commit is contained in:
Simon Ser 2023-05-06 21:23:40 +00:00
commit 336a3054a3
7 changed files with 545 additions and 2 deletions

View file

@ -465,7 +465,8 @@ VkImage vulkan_import_dmabuf(struct wlr_vk_renderer *renderer,
if ((uint32_t) attribs->width > mod->max_extent.width ||
(uint32_t) attribs->height > mod->max_extent.height) {
wlr_log(WLR_ERROR, "dmabuf is too large to import");
wlr_log(WLR_ERROR, "Size (%dx%d) is larger than maximum (%"PRIu32"x%"PRIu32")",
attribs->width, attribs->height, mod->max_extent.width, mod->max_extent.height);
return VK_NULL_HANDLE;
}