mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
zink: disable single-aspected blits for now
need spec support Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37470>
This commit is contained in:
parent
224f0f769b
commit
f9f682059b
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue