nir/spirv: Use the builder for all instructions
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 May 2015 19:12:23 +0000 (12:12 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 16 May 2015 18:16:33 +0000 (11:16 -0700)
commit98d78856f6f8965448f8ae5db74ab2f0609cb45e
tree2bc14f176fa20735f0275334a53ead94d57b63bb
parentff828749eab5d100ba61988f1b6c17712e751559
nir/spirv: Use the builder for all instructions

We don't actually use it to create all the instructions but we do use it
for insertion always.  This should make things far more consistent for
implementing extended instructions.
src/glsl/nir/spirv_to_nir.c