summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-12-17 14:49:24 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:20:23 -0800
commitde73d1e17318b9e7ed9d1f84bef56f6cc09bdf82 (patch)
tree3be213d65f06530a4e96f220e1f57d09a67f55b0 /src/glsl/nir/nir.h
parentcb53aacaa1555b98fa77146492e96a7e3d7631ba (diff)
nir: Rename nir_block_following_if to nir_block_get_following_if
The new name is a little longer but less confusing. Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 367862c9a8a..5ae572335f6 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1335,7 +1335,7 @@ bool nir_foreach_block_reverse(nir_function_impl *impl, nir_foreach_block_cb cb,
/* If the following CF node is an if, this function returns that if.
* Otherwise, it returns NULL.
*/
-nir_if *nir_block_following_if(nir_block *block);
+nir_if *nir_block_get_following_if(nir_block *block);
void nir_index_local_regs(nir_function_impl *impl);
void nir_index_global_regs(nir_shader *shader);