mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
Merge branch 'github/fork/emersion/vulkan-allocator' into 'master'
Draft: Vulkan allocator See merge request wlroots/wlroots!2648
This commit is contained in:
commit
336a3054a3
7 changed files with 545 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue