Re: [Mesa-dev] [PATCH v3 39/48] nir: Add a new subgroups lowering pass

2017-10-31 Thread Iago Toral
On Mon, 2017-10-30 at 11:45 -0700, Jason Ekstrand wrote: > On Mon, Oct 30, 2017 at 4:38 AM, Iago Toral > wrote: > > On Wed, 2017-10-25 at 16:26 -0700, Jason Ekstrand wrote: > > > > > This commit pulls nir_lower_read_invocations_to_scalar along with > > > > > most > > > > > of the guts of nir_op

Re: [Mesa-dev] [PATCH v3 39/48] nir: Add a new subgroups lowering pass

2017-10-30 Thread Jason Ekstrand
On Mon, Oct 30, 2017 at 4:38 AM, Iago Toral wrote: > On Wed, 2017-10-25 at 16:26 -0700, Jason Ekstrand wrote: > > This commit pulls nir_lower_read_invocations_to_scalar along with > > most > > of the guts of nir_opt_intrinsics (which mostly does subgroup > > lowering) > > into a new nir_lower_sub

Re: [Mesa-dev] [PATCH v3 39/48] nir: Add a new subgroups lowering pass

2017-10-30 Thread Iago Toral
On Wed, 2017-10-25 at 16:26 -0700, Jason Ekstrand wrote: > This commit pulls nir_lower_read_invocations_to_scalar along with > most > of the guts of nir_opt_intrinsics (which mostly does subgroup > lowering) > into a new nir_lower_subgroups pass.  There are various other bits of > subgroup lowering

[Mesa-dev] [PATCH v3 39/48] nir: Add a new subgroups lowering pass

2017-10-25 Thread Jason Ekstrand
This commit pulls nir_lower_read_invocations_to_scalar along with most of the guts of nir_opt_intrinsics (which mostly does subgroup lowering) into a new nir_lower_subgroups pass. There are various other bits of subgroup lowering that we're going to want to do so it makes a bit more sense to keep