From 2eb180db94830a70e21770e3a972efc55ee8385a Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 12 May 2020 15:01:16 +0200 Subject: [PATCH] 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: --- src/gallium/drivers/zink/zink_blit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_blit.c b/src/gallium/drivers/zink/zink_blit.c index d02d369514d..8accc0c7286 100644 --- a/src/gallium/drivers/zink/zink_blit.c +++ b/src/gallium/drivers/zink/zink_blit.c @@ -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); -- 2.30.2