summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-07-15 16:44:53 -0700
committerJason Ekstrand <[email protected]>2016-12-05 15:40:09 -0800
commitf5232db9e5fb00efc094c5dd071da4be88527568 (patch)
tree12b7d17dbf75f522796488c1c5554bf7bb0e2c7e /src/compiler/nir/nir.h
parent0291bf4db2affbfb6a7daeb562c0cf56f6a85829 (diff)
nir: Add a pass for lowering away constant initializers
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 9e8ed2cd47d..fd6d48e8aa3 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -2340,6 +2340,8 @@ void nir_lower_io_types(nir_shader *shader);
void nir_lower_vars_to_ssa(nir_shader *shader);
bool nir_remove_dead_variables(nir_shader *shader, nir_variable_mode modes);
+bool nir_lower_constant_initializers(nir_shader *shader,
+ nir_variable_mode modes);
void nir_move_vec_src_uses_to_dest(nir_shader *shader);
bool nir_lower_vec_to_movs(nir_shader *shader);