summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIcecream95 <ixn@disroot.org>2021-01-05 18:15:47 +1300
committerMarge Bot <eric+marge@anholt.net>2021-01-18 20:49:45 +0000
commit76fa57d1955f2767dce9d9a583bddd73d751d83c (patch)
tree764211e638bd1435749cf909b5efd7f39f6a9ded
parent7c2308769b0766578dc0f7e95471cd6f1903bcec (diff)
pan/bi: Use pan_nir_lower_64bit_intrin
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>
-rw-r--r--src/panfrost/bifrost/bifrost_compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c
index c9208c6a4ee..35292e6ca78 100644
--- 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);