Module: Mesa Branch: master Commit: f0455de6fc8a62d280e965eec15795c6652719e4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0455de6fc8a62d280e965eec15795c6652719e4
Author: Alyssa Rosenzweig <[email protected]> Date: Wed Apr 29 18:07:16 2020 -0400 pan/mdg: Drop nir_lower_to_source_mods shader-db regressions fixed shortly. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5102> --- src/panfrost/midgard/midgard_compile.c | 5 ----- 1 file changed, 5 deletions(-) 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); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
