nir: Add a generic instruction index
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 Sep 2015 23:43:51 +0000 (16:43 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Sep 2015 15:16:01 +0000 (08:16 -0700)
commit8ecaef967d6f2775bf7114d857baf3aaa13643a7
tree215bdbecec7cfb27606a4a4ee8a0944cd0667c70
parentbd016a2601a741799bc76734deae0cb9ebcb2b8f
nir: Add a generic instruction index

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/nir/nir.c
src/glsl/nir/nir.h