Re: [Mesa-dev] [PATCH] glsl: Implement GLSL 1.30's literal integer range restrictions.

2011-10-27 Thread Ian Romanick
On 10/26/2011 01:00 PM, Eric Anholt wrote: From page 22 (28 of PDF) of GLSL 1.30 spec: It is an error to provide a literal integer whose magnitude is too large to store in a variable of matching signed or unsigned type. Unsigned integers have exactly 32 bits of precision. Signed

Re: [Mesa-dev] [PATCH] glsl: Implement GLSL 1.30's literal integer range restrictions.

2011-10-27 Thread Paul Berry
On 26 October 2011 13:00, Eric Anholt wrote: > From page 22 (28 of PDF) of GLSL 1.30 spec: >It is an error to provide a literal integer whose magnitude is too >large to store in a variable of matching signed or unsigned type. > >Unsigned integers have exactly 32 bits of precision. Si

[Mesa-dev] [PATCH] glsl: Implement GLSL 1.30's literal integer range restrictions.

2011-10-26 Thread Eric Anholt
>From page 22 (28 of PDF) of GLSL 1.30 spec: It is an error to provide a literal integer whose magnitude is too large to store in a variable of matching signed or unsigned type. Unsigned integers have exactly 32 bits of precision. Signed integers use 32 bits, including a sign bit,

Re: [Mesa-dev] [PATCH] glsl: Implement GLSL 1.30's literal integer range restrictions.

2011-10-03 Thread Ian Romanick
On 10/03/2011 05:03 PM, Eric Anholt wrote: From page 22 (28 of PDF) of GLSL 1.30 spec: It is an error to provide a literal integer whose magnitude is too large to store in a variable of matching signed or unsigned type. Unsigned integers have exactly 32 bits of precision. Signed

Re: [Mesa-dev] [PATCH] glsl: Implement GLSL 1.30's literal integer range restrictions.

2011-10-03 Thread Kenneth Graunke
On 10/03/2011 05:03 PM, Eric Anholt wrote: > From page 22 (28 of PDF) of GLSL 1.30 spec: > It is an error to provide a literal integer whose magnitude is too > large to store in a variable of matching signed or unsigned type. > > Unsigned integers have exactly 32 bits of precision. Si

[Mesa-dev] [PATCH] glsl: Implement GLSL 1.30's literal integer range restrictions.

2011-10-03 Thread Eric Anholt
>From page 22 (28 of PDF) of GLSL 1.30 spec: It is an error to provide a literal integer whose magnitude is too large to store in a variable of matching signed or unsigned type. Unsigned integers have exactly 32 bits of precision. Signed integers use 32 bits, including a sign bit,