Re: [Mesa-dev] [PATCH/RFC] glsl: Avoid excessive loop unrolling.

2012-02-09 Thread Mathias Fröhlich
Hi Eric, On Tuesday, February 07, 2012 12:25:29 Eric Anholt wrote: > Does this also fix our piglit tests for the bug? If so, note it in the > commit message, and Ok, included. > Reviewed-by: Eric Anholt Thanks! Mathias ___ mesa-dev mailing list mes

Re: [Mesa-dev] [PATCH/RFC] glsl: Avoid excessive loop unrolling.

2012-02-07 Thread Eric Anholt
On Mon, 30 Jan 2012 07:40:15 +0100, Mathias Fröhlich wrote: > > Hi, > > I am trying to make the shaders from a sky scattering shader work with mesa. > One of the problems is that the shader contains a nested 16 x 32 loop with an > instruction intensive body. The glsl loop unrolling pass is try

[Mesa-dev] [PATCH/RFC] glsl: Avoid excessive loop unrolling.

2012-01-29 Thread Mathias Fröhlich
Hi, I am trying to make the shaders from a sky scattering shader work with mesa. One of the problems is that the shader contains a nested 16 x 32 loop with an instruction intensive body. The glsl loop unrolling pass is trying to unroll both loops since both of them have a fixed size <=32. Compi