<p dir="ltr"><br>
On Sep 14, 2015 01:22, "Eduardo Lima Mitev" <<a href="mailto:elima@igalia.com">elima@igalia.com</a>> wrote:<br>
><br>
> On 09/11/2015 05:58 PM, Jason Ekstrand wrote:<br>
> > On Fri, Sep 11, 2015 at 5:45 AM, Eduardo Lima Mitev <<a href="mailto:elima@igalia.com">elima@igalia.com</a>> wrote:<br>
> >> Reviewed-by: Eduardo Lima Mitev <<a href="mailto:elima@igalia.com">elima@igalia.com</a>><br>
> ><br>
> > One side-note: Could you please reply-all when reviewing patches.<br>
> > That way you keep the Cc list alive. While I still get it, my e-mail<br>
> > client flags things that are specifically Cc'd to me so I notice them.<br>
> > Thanks!<br>
> > --Jason<br>
> ><br>
><br>
> Ok, note taken. Sorry for hte mess.<br>
> My mail client UI plays me bad sometimes, since the reply-all and<br>
> reply-list are the same button with a drop-down to choose between.</p>
<p dir="ltr">Thunderbird? Yeah, I've been bitten by that too.</p>
<p dir="ltr">> Eduardo<br>
><br>
> >> On 09/10/2015 10:58 PM, Jason Ekstrand wrote:<br>
> >>> We copy the output, make the old output the temporary, and give the<br>
> >>> temporary a new name. The copy keeps the pointer to the old name. This<br>
> >>> works just fine up until the point where we lower things to SSA and delete<br>
> >>> the old variable and, with it, the name. Instead, we should re-parent to<br>
> >>> the copy.<br>
> >>> ---<br>
> >>> src/glsl/nir/nir_lower_outputs_to_temporaries.c | 3 +++<br>
> >>> 1 file changed, 3 insertions(+)<br>
> >>><br>
> >>> diff --git a/src/glsl/nir/nir_lower_outputs_to_temporaries.c b/src/glsl/nir/nir_lower_outputs_to_temporaries.c<br>
> >>> index fb8070c..9d3a913 100644<br>
> >>> --- a/src/glsl/nir/nir_lower_outputs_to_temporaries.c<br>
> >>> +++ b/src/glsl/nir/nir_lower_outputs_to_temporaries.c<br>
> >>> @@ -97,6 +97,9 @@ nir_lower_outputs_to_temporaries(nir_shader *shader)<br>
> >>> /* The orignal is now the temporary */<br>
> >>> nir_variable *temp = var;<br>
> >>><br>
> >>> + /* Reparent the name to the new variable */<br>
> >>> + ralloc_steal(output, output->name);<br>
> >>> +<br>
> >>> /* Give the output a new name with @out-temp appended */<br>
> >>> temp->name = ralloc_asprintf(var, "%s@out-temp", output->name);<br>
> >>> temp->data.mode = nir_var_global;<br>
> >>><br>
> >><br>
> >> _______________________________________________<br>
> >> mesa-dev mailing list<br>
> >> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> >> <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
> ><br>
><br>
</p>