projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a8f1a3
)
pan/bi: Assign blend descriptor for BLEND op
author
Alyssa Rosenzweig
<alyssa.rosenzweig@collabora.com>
Fri, 10 Apr 2020 04:25:50 +0000
(
00:25
-0400)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 27 Apr 2020 14:52:25 +0000
(14:52 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4766>
src/panfrost/bifrost/bi_pack.c
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/bi_pack.c
b/src/panfrost/bifrost/bi_pack.c
index c17664362c5110de018fab38b84dbe276b529063..5d3f9d1b8ba1fb64a17f463a2feb6335cfa6f639 100644
(file)
--- 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;