diff options
author | Matt Turner <[email protected]> | 2017-02-24 15:32:11 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-03-23 14:34:43 -0700 |
commit | b831b8d2e1ec00f11207343e131d74e53fe2c4a5 (patch) | |
tree | b53d9a30c7f2df46ec4746ba3212bd71fa2e5a19 /src/compiler/nir/nir.h | |
parent | adb157ddfd52ab495878a8b2b1bf70586d773aa2 (diff) |
nir: Return progress from nir_lower_load_const_to_scalar().
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index a3235739192..d570ee74a45 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -2400,7 +2400,7 @@ bool nir_lower_constant_initializers(nir_shader *shader, void nir_move_vec_src_uses_to_dest(nir_shader *shader); bool nir_lower_vec_to_movs(nir_shader *shader); bool nir_lower_alu_to_scalar(nir_shader *shader); -void nir_lower_load_const_to_scalar(nir_shader *shader); +bool nir_lower_load_const_to_scalar(nir_shader *shader); bool nir_lower_phis_to_scalar(nir_shader *shader); void nir_lower_io_to_scalar(nir_shader *shader, nir_variable_mode mask); |