nir/spirv: Add support for separate samplers and textures
authorJason Ekstrand <jason.ekstrand@intel.com>
Sun, 15 Nov 2015 06:32:54 +0000 (22:32 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 15 Nov 2015 06:32:54 +0000 (22:32 -0800)
commit22d024e031eef7c4e208b0f0410e51084e229be0
tree234e1d2ee50d7d5b1fbab9ab07a8234914f49ba3
parent002db3ee15c6e4e9137a2cedd7661e540a8b6a34
nir/spirv: Add support for separate samplers and textures

This gets tricky in a few places because we have to pass vtn_sampled_image
values through OpAccessChain, but it works ok.  At some point, it probably
needs to be cleaned up but it doesn't occur to me exactly how to do that at
the moment.  We'll see how this approach goes.
src/glsl/nir/spirv_to_nir.c
src/glsl/nir/spirv_to_nir_private.h