Re: [Mesa-dev] [PATCH 1/2] mesa: Extract is_active_attrib() in shaderapi

2014-04-12 Thread Kenneth Graunke
On 04/12/2014 02:20 AM, Chris Forbes wrote: > The rules are about to get a bit more complex to account for > gl_InstanceID and gl_VertexID, which are system values. > > Extracting this first avoids introducing duplication. > > Signed-off-by: Chris Forbes > --- > src/mesa/main/shader_query.cpp |

[Mesa-dev] [PATCH 1/2] mesa: Extract is_active_attrib() in shaderapi

2014-04-12 Thread Chris Forbes
The rules are about to get a bit more complex to account for gl_InstanceID and gl_VertexID, which are system values. Extracting this first avoids introducing duplication. Signed-off-by: Chris Forbes --- src/mesa/main/shader_query.cpp | 26 ++ 1 file changed, 18 insertion