zink: disable vkCmdResolveImage when respecting render-condition
vkCmdResolveImage doesn't respect render-condition, so let's fall back
to blitter in this case instead.
Fixes: 80d7cc6f129 ("zink: enable conditional rendering if available")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5008>
This commit is contained in:
committed by
Marge Bot
parent
06b6c687e2
commit
2eb180db94
@@ -12,7 +12,8 @@ blit_resolve(struct zink_context *ctx, const struct pipe_blit_info *info)
|
||||
if (util_format_get_mask(info->dst.format) != info->mask ||
|
||||
util_format_get_mask(info->src.format) != info->mask ||
|
||||
info->scissor_enable ||
|
||||
info->alpha_blend)
|
||||
info->alpha_blend ||
|
||||
info->render_condition_enable)
|
||||
return false;
|
||||
|
||||
struct zink_resource *src = zink_resource(info->src.resource);
|
||||
|
||||
Reference in New Issue
Block a user