diff options
author | Connor Abbott <[email protected]> | 2015-05-08 13:17:10 -0400 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-09-01 00:58:17 -0700 |
commit | 89dc0626bd71343312049bdca291704cb2f7fffe (patch) | |
tree | cb4709c60670c3b0e94f5165391c8cfb99f5dad6 /src/glsl/nir/nir.h | |
parent | f649afc9ddabfc70a5f9861e6daa2cb996461f45 (diff) |
nir: add nir_block_get_following_loop() helper
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index c65d090eac1..6853b0e9145 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -1732,6 +1732,8 @@ bool nir_foreach_block_reverse(nir_function_impl *impl, nir_foreach_block_cb cb, */ nir_if *nir_block_get_following_if(nir_block *block); +nir_loop *nir_block_get_following_loop(nir_block *block); + void nir_index_local_regs(nir_function_impl *impl); void nir_index_global_regs(nir_shader *shader); void nir_index_ssa_defs(nir_function_impl *impl); |