Re: [Mesa-dev] [PATCH] glsl: Flip around if statements with empty then blocks.

2013-05-04 Thread Matt Turner
On Fri, May 3, 2013 at 3:05 PM, Eric Anholt e...@anholt.net wrote: This cleans up some funny-looking code in some unigine shaders I was looking at. Also slightly helps on planeshift and a few shaders in an upcoming Valve release. total instructions in shared programs: 1653715 - 1653587

[Mesa-dev] [PATCH] glsl: Flip around if statements with empty then blocks.

2013-05-03 Thread Eric Anholt
This cleans up some funny-looking code in some unigine shaders I was looking at. Also slightly helps on planeshift and a few shaders in an upcoming Valve release. total instructions in shared programs: 1653715 - 1653587 (-0.01%) instructions in affected programs: 16550 - 16422 (-0.77%) ---

Re: [Mesa-dev] [PATCH] glsl: Flip around if statements with empty then blocks.

2013-05-03 Thread Kenneth Graunke
On 05/03/2013 03:05 PM, Eric Anholt wrote: This cleans up some funny-looking code in some unigine shaders I was looking at. Also slightly helps on planeshift and a few shaders in an upcoming Valve release. total instructions in shared programs: 1653715 - 1653587 (-0.01%) instructions in