Re: [Mesa-dev] [PATCH 3/3] glsl: Update builtin variables for GLSL 1.40.

2012-03-12 Thread Kenneth Graunke
On 03/12/2012 09:50 AM, Eric Anholt wrote: On Sun, 11 Mar 2012 23:59:35 -0700, Kenneth Graunke wrote: On 03/09/2012 01:27 PM, Eric Anholt wrote: Mostly this is a matter of removing variables that have been moved to the compatibility profile. There's one addition: gl_InstanceID is present in

Re: [Mesa-dev] [PATCH 3/3] glsl: Update builtin variables for GLSL 1.40.

2012-03-12 Thread Eric Anholt
On Sun, 11 Mar 2012 23:59:35 -0700, Kenneth Graunke wrote: > On 03/09/2012 01:27 PM, Eric Anholt wrote: > > Mostly this is a matter of removing variables that have been moved to > > the compatibility profile. There's one addition: gl_InstanceID is > > present in the core now. > > > > This fixes

Re: [Mesa-dev] [PATCH 3/3] glsl: Update builtin variables for GLSL 1.40.

2012-03-12 Thread Kenneth Graunke
On 03/09/2012 01:27 PM, Eric Anholt wrote: Mostly this is a matter of removing variables that have been moved to the compatibility profile. There's one addition: gl_InstanceID is present in the core now. This fixes the new piglit tests for GLSL 1.40 builtins. --- src/glsl/builtin_variables.cp

[Mesa-dev] [PATCH 3/3] glsl: Update builtin variables for GLSL 1.40.

2012-03-09 Thread Eric Anholt
Mostly this is a matter of removing variables that have been moved to the compatibility profile. There's one addition: gl_InstanceID is present in the core now. This fixes the new piglit tests for GLSL 1.40 builtins. --- src/glsl/builtin_variables.cpp | 259 +++--