Re: [Mesa-dev] [PATCH 1/8] nir: Make nir_copy_deref follow the "clone" pattern

2016-12-27 Thread Jason Ekstrand
On Dec 27, 2016 8:35 AM, "Jason Ekstrand" wrote: On Dec 27, 2016 7:05 AM, "Eduardo Lima Mitev" wrote: On 12/26/2016 06:13 PM, Jason Ekstrand wrote: > We rename it to nir_deref_clone, re-order the sources to match the other > clone functions, and expose

Re: [Mesa-dev] [PATCH 1/8] nir: Make nir_copy_deref follow the "clone" pattern

2016-12-27 Thread Jason Ekstrand
On Dec 27, 2016 7:05 AM, "Eduardo Lima Mitev" wrote: On 12/26/2016 06:13 PM, Jason Ekstrand wrote: > We rename it to nir_deref_clone, re-order the sources to match the other > clone functions, and expose nir_deref_var_clone. This past part, in > particular, lets us get rid of

Re: [Mesa-dev] [PATCH 1/8] nir: Make nir_copy_deref follow the "clone" pattern

2016-12-27 Thread Eduardo Lima Mitev
On 12/26/2016 06:13 PM, Jason Ekstrand wrote: > We rename it to nir_deref_clone, re-order the sources to match the other > clone functions, and expose nir_deref_var_clone. This past part, in > particular, lets us get rid of quite a few lines since we no longer have > to call nir_copy_deref and

Re: [Mesa-dev] [PATCH 1/8] nir: Make nir_copy_deref follow the "clone" pattern

2016-12-26 Thread Jordan Justen
On 2016-12-26 09:13:28, Jason Ekstrand wrote: > We rename it to nir_deref_clone, re-order the sources to match the other > clone functions, and expose nir_deref_var_clone. This past part, in > particular, lets us get rid of quite a few lines since we no longer have > to call nir_copy_deref and

[Mesa-dev] [PATCH 1/8] nir: Make nir_copy_deref follow the "clone" pattern

2016-12-26 Thread Jason Ekstrand
We rename it to nir_deref_clone, re-order the sources to match the other clone functions, and expose nir_deref_var_clone. This past part, in particular, lets us get rid of quite a few lines since we no longer have to call nir_copy_deref and wrap it in deref_to_var. ---