From f5232db9e5fb00efc094c5dd071da4be88527568 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 15 Jul 2016 16:44:53 -0700 Subject: nir: Add a pass for lowering away constant initializers Reviewed-by: Iago Toral Quiroga --- src/compiler/nir/nir.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler/nir/nir.h') 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); -- cgit v1.2.3