From: Alyssa Rosenzweig Date: Wed, 29 Apr 2020 22:07:16 +0000 (-0400) Subject: pan/mdg: Drop nir_lower_to_source_mods X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0455de6fc8a62d280e965eec15795c6652719e4;p=mesa.git pan/mdg: Drop nir_lower_to_source_mods shader-db regressions fixed shortly. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 9b164aa4695..4b9c83fe45c 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -497,11 +497,6 @@ optimise_nir(nir_shader *nir, unsigned quirks) /* Now that booleans are lowered, we can run out late opts */ NIR_PASS(progress, nir, midgard_nir_lower_algebraic_late); - /* Lower mods for float ops only. Integer ops don't support modifiers - * (saturate doesn't make sense on integers, neg/abs require dedicated - * instructions) */ - - NIR_PASS(progress, nir, nir_lower_to_source_mods, nir_lower_float_source_mods); NIR_PASS(progress, nir, nir_copy_prop); NIR_PASS(progress, nir, nir_opt_dce);