Re: [Mesa-dev] [PATCH] glsl: Remove texture built-ins with 'bias' from 1.30 VS profile.

2011-11-09 Thread Kenneth Graunke
On 11/09/2011 08:36 AM, Paul Berry wrote: I can't help but notice that in the above section, the comment says "textureProjOffset", but the function declarations say "textureProj". Is this a bug? The GLSL spec clearly calls these functions "textureProjOffset". 130.frag seems to have a similar pr

Re: [Mesa-dev] [PATCH] glsl: Remove texture built-ins with 'bias' from 1.30 VS profile.

2011-11-09 Thread Eric Anholt
On Wed, 9 Nov 2011 08:36:52 -0800, Paul Berry wrote: Non-text part: multipart/mixed Non-text part: multipart/alternative > On 8 November 2011 10:40, Kenneth Graunke wrote: > > > From the GLSL 1.30 spec, section 8.7 "Texture Lookup Functions": > > "In all functions below, the bias parameter is op

Re: [Mesa-dev] [PATCH] glsl: Remove texture built-ins with 'bias' from 1.30 VS profile.

2011-11-09 Thread Paul Berry
On 8 November 2011 10:40, Kenneth Graunke wrote: > From the GLSL 1.30 spec, section 8.7 "Texture Lookup Functions": > "In all functions below, the bias parameter is optional for fragment > shaders. The bias parameter is not accepted in a vertex shader." > > This was a cut and paste mistake. > >

[Mesa-dev] [PATCH] glsl: Remove texture built-ins with 'bias' from 1.30 VS profile.

2011-11-08 Thread Kenneth Graunke
>From the GLSL 1.30 spec, section 8.7 "Texture Lookup Functions": "In all functions below, the bias parameter is optional for fragment shaders. The bias parameter is not accepted in a vertex shader." This was a cut and paste mistake. Signed-off-by: Kenneth Graunke --- src/glsl/builtins/profil