nir: add nir_instr_is_first() and nir_instr_is_last() helpers
authorConnor Abbott <connor.w.abbott@intel.com>
Wed, 15 Jul 2015 19:00:47 +0000 (12:00 -0700)
committerConnor Abbott <connor.w.abbott@intel.com>
Fri, 17 Jul 2015 16:47:22 +0000 (09:47 -0700)
commit8eea091747c9b12b21688b738145632b90d923cb
treef1f74b60ccea0fce997e1967e61e834c242b4de4
parent01cdbba341b47972a743e7f192d3554010d0da84
nir: add nir_instr_is_first() and nir_instr_is_last() helpers

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