nir/cf: add split_block_cursor()
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 22 Jul 2015 02:54:32 +0000 (19:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 24 Aug 2015 20:31:42 +0000 (13:31 -0700)
commitd356f84d4ceb9fb63e4b254ab8b26ce891c2f2b9
tree1d5f8f64a205456fef0518b6eafb4506f6d49c1a
parent58a360c6b8aead1fec34aea298654ab544e7c8e8
nir/cf: add split_block_cursor()

This is a helper that will be shared between the new control flow
insertion and modification code.

Signed-off-by: Connor Abbott <connor.w.abbott@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/nir/nir_control_flow.c