diff options
author | Jason Ekstrand <[email protected]> | 2016-12-16 16:54:17 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-12-22 16:27:19 -0800 |
commit | 1111a05f90e27e9820dd187be16ae41335db6838 (patch) | |
tree | 9f3aa986e5b9762091adcb1f1166680072b42b4f /src/compiler/nir/nir.h | |
parent | 993e9195d42763d43f9f7453f77ac5b667f799e3 (diff) |
nir: Add an optimization pass to remove trivial continues
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index b185076414f..802a3bbeeab 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -2559,6 +2559,8 @@ bool nir_opt_peephole_select(nir_shader *shader, unsigned limit); bool nir_opt_remove_phis(nir_shader *shader); +bool nir_opt_trivial_continues(nir_shader *shader); + bool nir_opt_undef(nir_shader *shader); bool nir_opt_conditional_discard(nir_shader *shader); |