Mesa (master): panfrost: Don't print the midgard_blend_rt structs on SFBD

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 20 07:49:36 UTC 2019


Module: Mesa
Branch: master
Commit: 36b099a7b0f949fac175cd8219f7e8c71b4eb04c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=36b099a7b0f949fac175cd8219f7e8c71b4eb04c

Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date:   Tue Nov 19 13:09:57 2019 +0100

panfrost: Don't print the midgard_blend_rt structs on SFBD

Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>

---

 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++) {




More information about the mesa-commit mailing list