aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_compile.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-26 13:14:55 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-02 09:57:15 -0700
commit620c2717cfd263ba6abedad1344a2e57992cbe1a (patch)
tree310646e2cc1ca6e2915704fed2f9166f601664e6 /src/panfrost/midgard/midgard_compile.c
parentb821e1b85e9a2325e3ee3048ca25476ac3b32ff6 (diff)
pan/midgard: Add .not propagation pass
Essentially .pos propagation but for bitwise. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_compile.c')
-rw-r--r--src/panfrost/midgard/midgard_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c
index f0b3dde2754..a3c66ca43bb 100644
--- a/src/panfrost/midgard/midgard_compile.c
+++ b/src/panfrost/midgard/midgard_compile.c
@@ -2357,6 +2357,7 @@ midgard_compile_shader_nir(struct midgard_screen *screen, nir_shader *nir, midga
progress |= midgard_opt_dead_code_eliminate(ctx, block);
progress |= midgard_opt_combine_projection(ctx, block);
progress |= midgard_opt_varying_projection(ctx, block);
+ progress |= midgard_opt_not_propagate(ctx, block);
progress |= midgard_opt_fuse_dest_invert(ctx, block);
}
} while (progress);