summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-02-24 15:34:40 -0800
committerMatt Turner <[email protected]>2017-03-23 14:34:43 -0700
commit19345fc160e1cd6d8176068f9919b1f0e7f5164c (patch)
treebaff5fee73ddbfc1df5d7b19deab38c6f1571b05 /src/compiler/nir/nir.h
parentb831b8d2e1ec00f11207343e131d74e53fe2c4a5 (diff)
nir: Return progress from nir_lower_var_copies().
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index d570ee74a45..80efa063f31 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -2355,7 +2355,7 @@ bool nir_inline_functions(nir_shader *shader);
bool nir_propagate_invariant(nir_shader *shader);
void nir_lower_var_copy_instr(nir_intrinsic_instr *copy, nir_shader *shader);
-void nir_lower_var_copies(nir_shader *shader);
+bool nir_lower_var_copies(nir_shader *shader);
bool nir_lower_global_vars_to_local(nir_shader *shader);