From b947ab8b108445e60f928d80ad59fe718703aca7 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 2 Jun 2021 18:08:41 -0400 Subject: [PATCH] pan/bi: Lower 64-bit ints again Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bifrost_compile.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index b27e45cbc16..c2ed98e794d 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -3075,6 +3075,10 @@ bi_optimize_nir(nir_shader *nir, unsigned gpu_id, bool is_blend) nir_var_function_temp); } while (progress); + /* TODO: Why is 64-bit getting rematerialized? + * KHR-GLES31.core.shader_image_load_store.basic-allTargets-atomicFS */ + NIR_PASS(progress, nir, nir_lower_int64); + /* We need to cleanup after each iteration of late algebraic * optimizations, since otherwise NIR can produce weird edge cases * (like fneg of a constant) which we don't handle */