Re: [Mesa-dev] [PATCH 03/59] glsl/standalone: Optimize dead variable declarations

2016-10-26 Thread Iago Toral
Reviewed-by: Iago Toral Quiroga On Tue, 2016-10-25 at 17:59 -0700, Ian Romanick wrote: > From: Ian Romanick > > We didn't bother with this in the regular compiler because it doesn't > change the generated code.  In the stand-alone compiler, this can > clutter the output with useless variables. 

[Mesa-dev] [PATCH 03/59] glsl/standalone: Optimize dead variable declarations

2016-10-25 Thread Ian Romanick
From: Ian Romanick We didn't bother with this in the regular compiler because it doesn't change the generated code. In the stand-alone compiler, this can clutter the output with useless variables. It's especially bad after functions are inlined but the foo_retval declarations remain. v2: Use s