Module: Mesa Branch: master Commit: 667190d38a7afeeef39889a933b08c348503c071 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=667190d38a7afeeef39889a933b08c348503c071
Author: Alyssa Rosenzweig <[email protected]> Date: Fri Apr 10 00:25:50 2020 -0400 pan/bi: Assign blend descriptor for BLEND op Signed-off-by: Alyssa Rosenzweig <[email protected]> Signed-off-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4766> --- src/panfrost/bifrost/bi_pack.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c index c17664362c5..5d3f9d1b8ba 100644 --- a/src/panfrost/bifrost/bi_pack.c +++ b/src/panfrost/bifrost/bi_pack.c @@ -158,6 +158,12 @@ bi_assign_uniform_constant_single( if (!ins) return assigned; + if (ins->type == BI_BLEND) { + assert(!assigned); + regs->uniform_constant = 0x8; + return true; + } + bi_foreach_src(ins, s) { if (s == 0 && (ins->type == BI_LOAD_VAR_ADDRESS || ins->type == BI_LOAD_ATTR)) continue; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
