Re: [Mesa-dev] [PATCH v2 05/11] nir: Add a structure splitting pass

2018-08-22 Thread Jason Ekstrand
On Mon, Aug 20, 2018 at 6:41 PM Caio Marcelo de Oliveira Filho < caio.olive...@intel.com> wrote: > On Sat, Jul 28, 2018 at 10:44:36PM -0700, Jason Ekstrand wrote: > > This pass doesn't really do much now because nir_lower_vars_to_ssa can > > already see through structures and considers them to be

Re: [Mesa-dev] [PATCH v2 05/11] nir: Add a structure splitting pass

2018-08-20 Thread Caio Marcelo de Oliveira Filho
On Sat, Jul 28, 2018 at 10:44:36PM -0700, Jason Ekstrand wrote: > This pass doesn't really do much now because nir_lower_vars_to_ssa can > already see through structures and considers them to be "split". This > pass exists to help other passes more easily see through structure > variables. If a b

[Mesa-dev] [PATCH v2 05/11] nir: Add a structure splitting pass

2018-07-28 Thread Jason Ekstrand
This pass doesn't really do much now because nir_lower_vars_to_ssa can already see through structures and considers them to be "split". This pass exists to help other passes more easily see through structure variables. If a back-end does implement arrays using scratch or indirects on registers, h