pan/decode: Print Bifrost blend descriptor
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 10 Apr 2020 04:26:11 +0000 (00:26 -0400)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 10 Apr 2020 14:54:02 +0000 (16:54 +0200)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>

src/panfrost/pandecode/decode.c

index 3e70967562e0d3e4566ab9e40fe22f4463414ec5..a5d58be96a1466642d6050d6c0385295c375b137 100644 (file)
@@ -2370,7 +2370,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 && p->shared_memory & MALI_MFBD) {
+                if (job_type == JOB_TYPE_TILER && (is_bifrost || p->shared_memory & MALI_MFBD)) {
                         void* blend_base = (void *) (s + 1);
 
                         for (unsigned i = 0; i < fbd_info.rt_count; i++) {