projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d619ff0
)
pan/bi: Passthrough ZERO in branch packing
author
Alyssa Rosenzweig
<alyssa.rosenzweig@collabora.com>
Thu, 28 May 2020 16:39:26 +0000
(12:39 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Fri, 29 May 2020 20:34:55 +0000
(20:34 +0000)
There's a special mode for it.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
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 0cc56584303064a1e57da33526965ef787d4d2ac..9f8bf6b08a4a66cd483c711d8df07e0cd7ac2dbc 100644
(file)
--- a/
src/panfrost/bifrost/bi_pack.c
+++ b/
src/panfrost/bifrost/bi_pack.c
@@
-125,6
+125,7
@@
bi_assign_uniform_constant_single(
bi_foreach_src(ins, s) {
if (s == 0 && (ins->type == BI_LOAD_VAR_ADDRESS || ins->type == BI_LOAD_ATTR)) continue;
+ if (s == 1 && (ins->type == BI_BRANCH)) continue;
if (ins->src[s] & BIR_INDEX_CONSTANT) {
/* Let direct addresses through */