Re: [Mesa-dev] [PATCH 2/3] nir: Create sampler variables in prog_to_nir.

2018-08-26 Thread Jason Ekstrand
On Sat, Aug 25, 2018 at 5:25 PM Kenneth Graunke wrote: > On Saturday, August 25, 2018 6:05:57 AM PDT Jason Ekstrand wrote: > > On Fri, Aug 24, 2018 at 8:24 PM Kenneth Graunke > > wrote: > > > > > This is needed for nir_gather_info to actually count the textures, > > > since it operates solely on

Re: [Mesa-dev] [PATCH 2/3] nir: Create sampler variables in prog_to_nir.

2018-08-25 Thread Kenneth Graunke
On Saturday, August 25, 2018 6:05:57 AM PDT Jason Ekstrand wrote: > On Fri, Aug 24, 2018 at 8:24 PM Kenneth Graunke > wrote: > > > This is needed for nir_gather_info to actually count the textures, > > since it operates solely on variables. > > --- > > src/mesa/program/prog_to_nir.c | 15 +++

Re: [Mesa-dev] [PATCH 2/3] nir: Create sampler variables in prog_to_nir.

2018-08-25 Thread Jason Ekstrand
On Fri, Aug 24, 2018 at 8:24 PM Kenneth Graunke wrote: > This is needed for nir_gather_info to actually count the textures, > since it operates solely on variables. > --- > src/mesa/program/prog_to_nir.c | 15 +-- > 1 file changed, 13 insertions(+), 2 deletions(-) > > diff --git a/sr

[Mesa-dev] [PATCH 2/3] nir: Create sampler variables in prog_to_nir.

2018-08-24 Thread Kenneth Graunke
This is needed for nir_gather_info to actually count the textures, since it operates solely on variables. --- src/mesa/program/prog_to_nir.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/mesa/program/prog_to_nir.c b/src/mesa/program/prog_to_nir.c index 14