projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c23087
)
pan/bi: Use pan_nir_lower_64bit_intrin
author
Icecream95
<ixn@disroot.org>
Tue, 5 Jan 2021 05:15:47 +0000
(18:15 +1300)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 18 Jan 2021 20:49:45 +0000
(20:49 +0000)
The intrinsics covered by the pass are implemented by reading 32-bit
registers, so there is no reason to keep them 64-bit.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
src/panfrost/bifrost/bifrost_compile.c
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/bifrost_compile.c
b/src/panfrost/bifrost/bifrost_compile.c
index
c9208c6
..
35292e6
100644
(file)
--- a/
src/panfrost/bifrost/bifrost_compile.c
+++ b/
src/panfrost/bifrost/bifrost_compile.c
@@
-2137,6
+2137,8
@@
bi_optimize_nir(nir_shader *nir)
.lower_txd = true,
};
+ NIR_PASS(progress, nir, pan_nir_lower_64bit_intrin);
+
NIR_PASS(progress, nir, nir_lower_int64);
NIR_PASS(progress, nir, nir_lower_tex, &lower_tex_options);