From 76fa57d1955f2767dce9d9a583bddd73d751d83c Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Tue, 5 Jan 2021 18:15:47 +1300 Subject: 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 Part-of: --- src/panfrost/bifrost/bifrost_compile.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3