diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-04-10 00:25:50 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-27 14:52:25 +0000 |
commit | 667190d38a7afeeef39889a933b08c348503c071 (patch) | |
tree | 8bf2e7d51ccf2378b24e0b229c815755ee471282 | |
parent | 1a8f1a324a22bcd99b31482002d4b380ffb7cb34 (diff) |
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>
-rw-r--r-- | src/panfrost/bifrost/bi_pack.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |