Mesa (master): pan/bi: Allow non-terminal BLEND operations

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


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

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

pan/bi: Allow non-terminal BLEND operations

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/panfrost/bifrost/bi_pack.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c
index 400b63880df..56c0175e7b4 100644
--- a/src/panfrost/bifrost/bi_pack.c
+++ b/src/panfrost/bifrost/bi_pack.c
@@ -692,12 +692,6 @@ bi_collect_blend_ret_addr(bi_context *ctx, struct util_dynarray *emission,
         if (!ins || ins->op != BI_OPCODE_BLEND)
                 return;
 
-        /* We don't support non-terminal blend instructions yet.
-         * That would requires fixing blend shaders to restore the registers
-         * they use before jumping back to the fragment shader, which is
-         * currently not supported.
-         */
-        assert(0);
 
         unsigned loc = bundle->regs.fau_idx - BIR_FAU_BLEND_0;
         assert(loc < ARRAY_SIZE(ctx->blend_ret_offsets));



More information about the mesa-commit mailing list