diff options
Diffstat (limited to 'src/glsl/nir/nir_opt_dce.c')
-rw-r--r-- | src/glsl/nir/nir_opt_dce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_opt_dce.c b/src/glsl/nir/nir_opt_dce.c index 9778e9ed6a6..3f7d94d8295 100644 --- a/src/glsl/nir/nir_opt_dce.c +++ b/src/glsl/nir/nir_opt_dce.c @@ -116,7 +116,7 @@ init_block_cb(nir_block *block, void *_state) nir_foreach_instr(block, instr) init_instr(instr, worklist); - nir_if *following_if = nir_block_following_if(block); + nir_if *following_if = nir_block_get_following_if(block); if (following_if) { if (following_if->condition.is_ssa && !following_if->condition.ssa->parent_instr->live) |