nir: add more intrinsics
nir: fix up nir_call_instr

Use dereferences for calls
nir: intrinsics have max 2 variables

We don't need to dynamically allocate that...
nir/types: include ir.h

Rather than copying one of its functions...
nir/types: make glsl_types enums available from C
nir: texture fixes
nir: add functions to create more kinds of instructions
nir: add more opcodes
nir: add a glsl-to-nir pass