From: Tomeu Vizoso Date: Tue, 19 Nov 2019 12:09:57 +0000 (+0100) Subject: panfrost: Don't print the midgard_blend_rt structs on SFBD X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=36b099a7b0f949fac175cd8219f7e8c71b4eb04c panfrost: Don't print the midgard_blend_rt structs on SFBD Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig --- 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++) {