From 393615510dc9204ae11c1f4a99d9bd68869b411d Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Mon, 30 Aug 2021 10:37:47 +0200 Subject: [PATCH] panvk: Fix blend descriptor emission Got the round_to_fb_precision wrong when rebasing the the per-gen XML changes. Fix it now. Fixes: 792a0ab0b146 ("panvk: Prepare per-gen split") Signed-off-by: Boris Brezillon Reviewed-by: Tomeu Vizoso Part-of: --- src/panfrost/vulkan/panvk_vX_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/vulkan/panvk_vX_cs.c b/src/panfrost/vulkan/panvk_vX_cs.c index 1fe98a3ad47..2f431dd67bc 100644 --- a/src/panfrost/vulkan/panvk_vX_cs.c +++ b/src/panfrost/vulkan/panvk_vX_cs.c @@ -620,7 +620,7 @@ panvk_per_arch(emit_blend)(const struct panvk_device *dev, cfg.srgb = util_format_is_srgb(rts->format); cfg.load_destination = pan_blend_reads_dest(blend->rts[rt].equation); - cfg.round_to_fb_precision = dithered; + cfg.round_to_fb_precision = !dithered; #if PAN_ARCH <= 5 cfg.midgard.blend_shader = false;