Re: [Mesa-dev] [PATCH 2/2] glsl: Always copy the index when cloning a variable.

2012-04-26 Thread Ian Romanick
On 04/26/2012 08:26 AM, Kenneth Graunke wrote: On 04/25/2012 04:07 PM, Eric Anholt wrote: The index is also used for GL_ARB_blend_func_extended. Cloning in i965 was dropping a non-ARB_explicit_attrib_location index. --- src/glsl/ir_clone.cpp | 7 +-- 1 file changed, 1 insertion(+), 6 deletion

Re: [Mesa-dev] [PATCH 2/2] glsl: Always copy the index when cloning a variable.

2012-04-26 Thread Kenneth Graunke
On 04/25/2012 04:07 PM, Eric Anholt wrote: The index is also used for GL_ARB_blend_func_extended. Cloning in i965 was dropping a non-ARB_explicit_attrib_location index. --- src/glsl/ir_clone.cpp |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/glsl/ir_clone.cpp

Re: [Mesa-dev] [PATCH 2/2] glsl: Always copy the index when cloning a variable.

2012-04-26 Thread Dave Airlie
On Thu, Apr 26, 2012 at 12:07 AM, Eric Anholt wrote: > The index is also used for GL_ARB_blend_func_extended.  Cloning in > i965 was dropping a non-ARB_explicit_attrib_location index. LGTM Reviewed-by: Dave Airlie Dave. > --- >  src/glsl/ir_clone.cpp |    7 +-- >  1 file changed, 1 insert

[Mesa-dev] [PATCH 2/2] glsl: Always copy the index when cloning a variable.

2012-04-25 Thread Eric Anholt
The index is also used for GL_ARB_blend_func_extended. Cloning in i965 was dropping a non-ARB_explicit_attrib_location index. --- src/glsl/ir_clone.cpp |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp index 5a7a71c..5046ac3