Re: [Mesa-dev] [PATCH 2/5] glsl: Extend s-expression parsing to handle infinity.

2011-10-28 Thread Paul Berry
On 27 October 2011 20:13, Kenneth Graunke kenn...@whitecape.org wrote: On 10/26/2011 06:42 PM, Paul Berry wrote: In order to implement the GLSL 1.30 isinf() function, it will be necessary to be able to represent infinity in the GLSL IR s-expression format. This patch extends the

Re: [Mesa-dev] [PATCH 2/5] glsl: Extend s-expression parsing to handle infinity.

2011-10-27 Thread Kenneth Graunke
On 10/26/2011 06:42 PM, Paul Berry wrote: In order to implement the GLSL 1.30 isinf() function, it will be necessary to be able to represent infinity in the GLSL IR s-expression format. This patch extends the s-expression parser so that it treats the string #inf as a floating point value

[Mesa-dev] [PATCH 2/5] glsl: Extend s-expression parsing to handle infinity.

2011-10-26 Thread Paul Berry
In order to implement the GLSL 1.30 isinf() function, it will be necessary to be able to represent infinity in the GLSL IR s-expression format. This patch extends the s-expression parser so that it treats the string #inf as a floating point value representing positive infinity. ---