zink: disable single-aspected blits for now
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

need spec support

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37470>
This commit is contained in:
Mike Blumenkrantz 2025-09-18 10:41:02 -04:00
parent 224f0f769b
commit f9f682059b

View file

@ -190,6 +190,10 @@ blit_native(struct zink_context *ctx, const struct pipe_blit_info *info, bool *n
vk_format_get_aspect_format(dst_vkformat, dst_aspects);
if (src->format != zink_get_format(screen, info->src.format) || dst_aspect_fmt != dst_vkformat)
return false;
/* TODO: remove this in the future when spec permits to allow single-aspected blits */
if (src->format != zink_get_format(screen, info->src.format) ||
dst->format != zink_get_format(screen, info->dst.format))
return false;
if (src->format != VK_FORMAT_A8_UNORM_KHR && zink_format_is_emulated_alpha(info->src.format))
return false;