Re: [Mesa-dev] [RFCv2 03/13] nir: allow pre-resolved sampler uniform locations

2015-11-19 Thread Ilia Mirkin
On Thu, Nov 19, 2015 at 2:54 PM, Rob Clark wrote: > On Mon, Nov 9, 2015 at 4:08 PM, Timothy Arceri wrote: >> On Mon, 2015-11-09 at 07:43 -0500, Rob Clark wrote: >>> On Sun, Nov 8, 2015 at 7:58 PM, Timothy Arceri >>> wrote: >>> > On Sun, 2015-11-08 at 15:12 -0500, Rob Clark wrote: >>> > > From: R

Re: [Mesa-dev] [RFCv2 03/13] nir: allow pre-resolved sampler uniform locations

2015-11-19 Thread Rob Clark
On Mon, Nov 9, 2015 at 4:08 PM, Timothy Arceri wrote: > On Mon, 2015-11-09 at 07:43 -0500, Rob Clark wrote: >> On Sun, Nov 8, 2015 at 7:58 PM, Timothy Arceri >> wrote: >> > On Sun, 2015-11-08 at 15:12 -0500, Rob Clark wrote: >> > > From: Rob Clark >> > > >> > > With TGSI, the ir_variable::data.l

Re: [Mesa-dev] [RFCv2 03/13] nir: allow pre-resolved sampler uniform locations

2015-11-09 Thread Timothy Arceri
On Mon, 2015-11-09 at 07:43 -0500, Rob Clark wrote: > On Sun, Nov 8, 2015 at 7:58 PM, Timothy Arceri > wrote: > > On Sun, 2015-11-08 at 15:12 -0500, Rob Clark wrote: > > > From: Rob Clark > > > > > > With TGSI, the ir_variable::data.location gets fixed up to be a stage > > > local location (rath

Re: [Mesa-dev] [RFCv2 03/13] nir: allow pre-resolved sampler uniform locations

2015-11-09 Thread Rob Clark
On Sun, Nov 8, 2015 at 7:58 PM, Timothy Arceri wrote: > On Sun, 2015-11-08 at 15:12 -0500, Rob Clark wrote: >> From: Rob Clark >> >> With TGSI, the ir_variable::data.location gets fixed up to be a stage >> local location (rather than program global). In this case we need to >> skip the UniformSt

Re: [Mesa-dev] [RFCv2 03/13] nir: allow pre-resolved sampler uniform locations

2015-11-08 Thread Timothy Arceri
On Sun, 2015-11-08 at 15:12 -0500, Rob Clark wrote: > From: Rob Clark > > With TGSI, the ir_variable::data.location gets fixed up to be a stage > local location (rather than program global). In this case we need to > skip the UniformStorage[location] lookup. > --- > src/glsl/nir/nir_lower_sampl

[Mesa-dev] [RFCv2 03/13] nir: allow pre-resolved sampler uniform locations

2015-11-08 Thread Rob Clark
From: Rob Clark With TGSI, the ir_variable::data.location gets fixed up to be a stage local location (rather than program global). In this case we need to skip the UniformStorage[location] lookup. --- src/glsl/nir/nir_lower_samplers.c | 23 --- 1 file changed, 16 insertions(