nir/spirv: pull out logic for getting builtin locations
authorConnor Abbott <connor.w.abbott@intel.com>
Sat, 4 Jul 2015 17:49:12 +0000 (10:49 -0700)
committerConnor Abbott <connor.w.abbott@intel.com>
Mon, 6 Jul 2015 22:00:37 +0000 (15:00 -0700)
commit70d2336e7ef38112ab2b72abce4e2c97be00eb96
tree621d76757c1893946e918d3d17446567317d4455
parentaca5fc6af160ca557235e37fe49043ce1f8d3e99
nir/spirv: pull out logic for getting builtin locations

Also add support for more builtins.
src/glsl/nir/spirv_to_nir.c