summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_live_variables.c
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_live_variables.c
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_live_variables.c')
-rw-r--r--src/glsl/nir/nir_live_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_live_variables.c b/src/glsl/nir/nir_live_variables.c
index dc3057c41fd..305c26476e9 100644
--- a/src/glsl/nir/nir_live_variables.c
+++ b/src/glsl/nir/nir_live_variables.c
@@ -165,7 +165,7 @@ walk_instructions_block(nir_block *block, void *void_state)
memcpy(block->live_in, block->live_out,
state->bitset_words * sizeof(BITSET_WORD));
- nir_if *following_if = nir_block_following_if(block);
+ nir_if *following_if = nir_block_get_following_if(block);
if (following_if)
set_src_live(&following_if->condition, block->live_in);