From 36b099a7b0f949fac175cd8219f7e8c71b4eb04c Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 19 Nov 2019 13:09:57 +0100 Subject: [PATCH] panfrost: Don't print the midgard_blend_rt structs on SFBD Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig --- src/panfrost/pandecode/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 8f61f33e4b4..70a3a355cb7 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -2323,7 +2323,7 @@ pandecode_vertex_tiler_postfix_pre( /* MRT blend fields are used whenever MFBD is used, with * per-RT descriptors */ - if (job_type == JOB_TYPE_TILER) { + if (job_type == JOB_TYPE_TILER && p->framebuffer & MALI_MFBD) { void* blend_base = (void *) (s + 1); for (unsigned i = 0; i < fbd_info.rt_count; i++) { -- 2.30.2