From: Alyssa Rosenzweig Date: Wed, 2 Jun 2021 22:08:41 +0000 (-0400) Subject: pan/bi: Lower 64-bit ints again X-Git-Tag: upstream/21.2.3~2196 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b947ab8b108445e60f928d80ad59fe718703aca7;p=platform%2Fupstream%2Fmesa.git pan/bi: Lower 64-bit ints again Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index b27e45c..c2ed98e 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 */