diff --git a/src/panfrost/lib/pan_desc.c b/src/panfrost/lib/pan_desc.c index 901ab89c8e6..1eae31a7362 100644 --- a/src/panfrost/lib/pan_desc.c +++ b/src/panfrost/lib/pan_desc.c @@ -874,7 +874,10 @@ GENX(pan_emit_fbd)(const struct pan_fb_info *fb, unsigned layer_idx, cfg.bound_max_y = fb->height - 1; cfg.effective_tile_size = fb->tile_size; - cfg.tie_break_rule = MALI_TIE_BREAK_RULE_MINUS_180_IN_0_OUT; + /* Ensure we cover the samples on the edge for 16x MSAA */ + cfg.tie_break_rule = fb->nr_samples == 16 ? + MALI_TIE_BREAK_RULE_MINUS_180_OUT_0_IN : + MALI_TIE_BREAK_RULE_MINUS_180_IN_0_OUT; cfg.render_target_count = MAX2(fb->rt_count, 1); /* Default to 24 bit depth if there's no surface. */