Re: [Mesa-dev] [PATCH] nir: Mark the shader name during nir_sweep

2015-10-08 Thread Jason Ekstrand
On Thu, Oct 8, 2015 at 7:58 AM, Neil Roberts wrote: > Previously the name of the nir shader was being freed prematurely > during nir_sweep. Since 756613ed35d the name was later being used to > generate filenames for the optimiser debug output and these would end > up with garbage from the dangling

[Mesa-dev] [PATCH] nir: Mark the shader name during nir_sweep

2015-10-08 Thread Neil Roberts
Previously the name of the nir shader was being freed prematurely during nir_sweep. Since 756613ed35d the name was later being used to generate filenames for the optimiser debug output and these would end up with garbage from the dangling pointer. --- src/glsl/nir/nir_sweep.c | 3 +++ 1 file chang