Mesa (master): panfrost: Set the RT index when emitting a Bifrost blend descriptor

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 11 20:54:30 UTC 2021


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

Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Jan  8 19:14:03 2021 +0100

panfrost: Set the RT index when emitting a Bifrost blend descriptor

Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8417>

---

 src/gallium/drivers/panfrost/pan_cmdstream.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c
index c7d558d3efb..5a62265d9cf 100644
--- a/src/gallium/drivers/panfrost/pan_cmdstream.c
+++ b/src/gallium/drivers/panfrost/pan_cmdstream.c
@@ -324,6 +324,7 @@ panfrost_emit_bifrost_blend(struct panfrost_batch *batch,
                                         panfrost_format_to_bifrost_blend(dev, format_desc, true);
                                 cfg.bifrost.internal.fixed_function.conversion.register_format =
                                         fs->blend_types[i];
+                                cfg.bifrost.internal.fixed_function.rt = i;
                         }
                 }
         }



More information about the mesa-commit mailing list