nir: Return progress from nir_convert_from_ssa().

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Matt Turner
2017-03-09 11:49:57 -08:00
parent abc8a702d0
commit ef71af7356
2 changed files with 15 additions and 8 deletions

View File

@@ -2588,7 +2588,7 @@ void nir_convert_loop_to_lcssa(nir_loop *loop);
* registers. If false, convert all values (even those not involved in a phi
* node) to registers.
*/
void nir_convert_from_ssa(nir_shader *shader, bool phi_webs_only);
bool nir_convert_from_ssa(nir_shader *shader, bool phi_webs_only);
bool nir_lower_phis_to_regs_block(nir_block *block);
bool nir_lower_ssa_defs_to_regs_block(nir_block *block);