nir: Rework the way samplers are lowered
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 6 Dec 2014 00:09:53 +0000 (16:09 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:20:21 +0000 (07:20 -0800)
commit60ec60a600875a6c40a1a90d34d00000c7aa96e7
treed122af22b5209ab6e618867c459af2f7d2dc1605
parent4cdabcc0fa2fdddc7125f0351efb1fd728779db5
nir: Rework the way samplers are lowered

v2 Jason Ekstrand <jason.ekstrand@intel.com>:
 - Use the nir_tex_src_sampler_offset source type instead of the
   sampler_indirect thing that I cooked up before.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/nir/nir_lower_samplers.cpp