diff options
author | Eric Anholt <[email protected]> | 2016-06-03 14:36:04 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-07-04 16:33:22 -0700 |
commit | 200b4e4bd5e87fea91193e3d1976b9cf0eabf8ba (patch) | |
tree | 0b962b15999588d421df9bf40a52857bc1cfc8a2 /src/gallium/drivers/vc4/vc4_qir.h | |
parent | aa76ba6f2fb0d6438b2b652d9fa466b6cf77fa31 (diff) |
vc4: Move SF removal to a separate peephole pass.
The DCE pass is going to change significantly to handle control flow,
while we don't really need to change it for the SF handling. We also need
to add some more SF peephole optimization for SF updates generated by
control flow support.
No change on shader-db.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h index c52d824e34e..8813cb4f1ce 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -496,6 +496,7 @@ bool qir_opt_algebraic(struct vc4_compile *c); bool qir_opt_constant_folding(struct vc4_compile *c); bool qir_opt_copy_propagation(struct vc4_compile *c); bool qir_opt_dead_code(struct vc4_compile *c); +bool qir_opt_peephole_sf(struct vc4_compile *c); bool qir_opt_small_immediates(struct vc4_compile *c); bool qir_opt_vpm(struct vc4_compile *c); void vc4_nir_lower_blend(nir_shader *s, struct vc4_compile *c); |