Re: [Mesa-dev] [PATCH v2 2/8] nir: Separate texture from sampler in nir_tex_instr

2016-02-08 Thread Kenneth Graunke
On Saturday, February 6, 2016 10:19:46 AM PST Jason Ekstrand wrote: > This commit adds the capability to NIR to support separate textures and > samplers. As it currently stands, glsl_to_nir only sets the texture deref > and leaves the sampler deref alone as it did before and nir_lower_samplers > a

[Mesa-dev] [PATCH v2 2/8] nir: Separate texture from sampler in nir_tex_instr

2016-02-06 Thread Jason Ekstrand
This commit adds the capability to NIR to support separate textures and samplers. As it currently stands, glsl_to_nir only sets the texture deref and leaves the sampler deref alone as it did before and nir_lower_samplers assumes this. Backends can still assume that they are combined and only look