Re: [Mesa-dev] [PATCH] glsl: be more careful about counting varying vars in the linker

2012-06-27 Thread Eric Anholt
Brian Paul writes: > Previously, we were counting gl_FrontFacing, gl_FragCoord and gl_PointCoord > against the limit of varying variables. This prevented some valid shaders > from linking. > > The other potential solution to this is to have the driver advertise > more varying vars or set the GLS

[Mesa-dev] [PATCH] glsl: be more careful about counting varying vars in the linker

2012-06-26 Thread Brian Paul
Previously, we were counting gl_FrontFacing, gl_FragCoord and gl_PointCoord against the limit of varying variables. This prevented some valid shaders from linking. The other potential solution to this is to have the driver advertise more varying vars or set the GLSLSkipStrictMaxVaryingLimitCheck