vulkan resolves only provide "extents" instead of src and dst regions like
GL, which means vk resolves can't be used to downscale images, as such
operations will instead just crop the image
fixes #8655
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22195>
info->src.box.depth < 0 ||
info->dst.box.depth < 0)
return false;
+ /* vulkan resolves can't downscale */
+ if (info->src.box.width > info->dst.box.width ||
+ info->src.box.height > info->dst.box.height ||
+ info->src.box.depth > info->dst.box.depth)
+ return false;
if (info->render_condition_enable &&
ctx->render_condition_active)