nir: Make nir_[cf_node/instr]_[prev/next] return null if at the end
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 5 Feb 2015 05:22:45 +0000 (21:22 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 20 Feb 2015 01:06:17 +0000 (17:06 -0800)
commit3d25afc51c1d56fe8c29147825e53ba272780360
tree8619262c095fb5dbf3d063faa18e4047182e930c
parent902b0ccc9a5266955d104dc7652ac00e66081f95
nir: Make nir_[cf_node/instr]_[prev/next] return null if at the end

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir.h