Re: [Mesa-dev] [RFC 1/5] nir: Separate texture from sampler in nir_tex_instr

2015-11-25 Thread Jason Ekstrand
On Wed, Nov 25, 2015 at 3:57 PM, Kenneth Graunke wrote: > On Tuesday, November 03, 2015 01:26:00 PM 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 sampler and >> leaves the texture alo

Re: [Mesa-dev] [RFC 1/5] nir: Separate texture from sampler in nir_tex_instr

2015-11-25 Thread Kenneth Graunke
On Tuesday, November 03, 2015 01:26:00 PM 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 sampler and > leaves the texture alone as it did before and nir_lower_samplers assumes > this. Ho

[Mesa-dev] [RFC 1/5] nir: Separate texture from sampler in nir_tex_instr

2015-11-03 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 sampler and leaves the texture alone as it did before and nir_lower_samplers assumes this. However, backends can, if they wish, assume that they are separate because