nir/cf: use a cursor for inserting control flow
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 22 Jul 2015 02:54:33 +0000 (19:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 24 Aug 2015 20:31:42 +0000 (13:31 -0700)
commit476eb5e4a16efdbc54c4418e44b1f38989026add
tree208ac39ae43c3c1cc34f7214d1671bfe5ce3a411
parentd356f84d4ceb9fb63e4b254ab8b26ce891c2f2b9
nir/cf: use a cursor for inserting control flow

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