diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-26 13:14:55 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-02 09:57:15 -0700 |
commit | 620c2717cfd263ba6abedad1344a2e57992cbe1a (patch) | |
tree | 310646e2cc1ca6e2915704fed2f9166f601664e6 /src/panfrost/midgard/midgard_compile.c | |
parent | b821e1b85e9a2325e3ee3048ca25476ac3b32ff6 (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.c | 1 |
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); |