Oops, I just made a similar patch without noticing this one. Feel free to take the commit message from my patch if you want. Either way this one is:
Reviewed-by: Neil Roberts <n...@linux.intel.com> http://patchwork.freedesktop.org/patch/61369/ Sorry for the noise. Regards, - Neil Jason Ekstrand <ja...@jlekstrand.net> writes: > --- > src/glsl/nir/nir_sweep.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/glsl/nir/nir_sweep.c b/src/glsl/nir/nir_sweep.c > index d354975..b6ce43b 100644 > --- a/src/glsl/nir/nir_sweep.c > +++ b/src/glsl/nir/nir_sweep.c > @@ -154,6 +154,8 @@ nir_sweep(nir_shader *nir) > /* First, move ownership of all the memory to a temporary context; assume > dead. */ > ralloc_adopt(rubbish, nir); > > + ralloc_steal(nir, (char *)nir->info.name); > + > /* Variables and registers are not dead. Steal them back. */ > steal_list(nir, nir_variable, &nir->uniforms); > steal_list(nir, nir_variable, &nir->inputs); > -- > 2.5.0.400.gff86faf > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev