mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
a/vk: Remove unneeded warning
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2347>
This commit is contained in:
parent
3d6b272ee0
commit
32b695433d
|
@ -1222,8 +1222,7 @@ vk_create_image_from_native(struct vk_bundle *vk,
|
||||||
requirements.size);
|
requirements.size);
|
||||||
return VK_ERROR_OUT_OF_DEVICE_MEMORY;
|
return VK_ERROR_OUT_OF_DEVICE_MEMORY;
|
||||||
} else if (requirements.size < image_native->size) {
|
} else if (requirements.size < image_native->size) {
|
||||||
VK_WARN(vk, "size mismatch, exported %" PRIu64 " but requires %" PRIu64, image_native->size,
|
// it's OK if we have more memory than we need, APIs can round up
|
||||||
requirements.size);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VkMemoryDedicatedAllocateInfoKHR dedicated_memory_info = {
|
VkMemoryDedicatedAllocateInfoKHR dedicated_memory_info = {
|
||||||
|
|
Loading…
Reference in a new issue