Re: [Mesa-dev] [PATCH V3 5/6] nir: support indirect indexing samplers in struct arrays

2015-09-10 Thread Timothy Arceri
On Fri, 2015-09-11 at 12:55 +1000, Timothy Arceri wrote: > On Thu, 2015-09-10 at 18:04 -0700, Jason Ekstrand wrote: > > On Tue, Sep 1, 2015 at 7:44 PM, Timothy Arceri < > > t_arc...@yahoo.com.au > > > wrote: > > > As a bonus we get indirect support for arrays of arrays for free. > > > > > > V3: Us

Re: [Mesa-dev] [PATCH V3 5/6] nir: support indirect indexing samplers in struct arrays

2015-09-10 Thread Timothy Arceri
On Thu, 2015-09-10 at 18:04 -0700, Jason Ekstrand wrote: > On Tue, Sep 1, 2015 at 7:44 PM, Timothy Arceri > wrote: > > As a bonus we get indirect support for arrays of arrays for free. > > > > V3: Use nir_instr_rewrite_src() with empty src rather then clearing > > the use_link list directly for t

Re: [Mesa-dev] [PATCH V3 5/6] nir: support indirect indexing samplers in struct arrays

2015-09-10 Thread Jason Ekstrand
On Tue, Sep 1, 2015 at 7:44 PM, Timothy Arceri wrote: > As a bonus we get indirect support for arrays of arrays for free. > > V3: Use nir_instr_rewrite_src() with empty src rather then clearing > the use_link list directly for the old indirects as suggested by Jason > > V2: Fixed validation error

[Mesa-dev] [PATCH V3 5/6] nir: support indirect indexing samplers in struct arrays

2015-09-01 Thread Timothy Arceri
As a bonus we get indirect support for arrays of arrays for free. V3: Use nir_instr_rewrite_src() with empty src rather then clearing the use_link list directly for the old indirects as suggested by Jason V2: Fixed validation error in debug build --- src/glsl/nir/nir_lower_samplers.cpp | 169 +++