Brian Paul <[email protected]> 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 GLSLSkipStrictMaxVaryingLimitCheck flag. > But the above-mentioned variables aren't conventional varying attributes > so it doesn't seem right to count them.
These variables are so awkward. i915 needs to pass all three as varyings. gen4/5 needs to pass pntc as varyings. But I think it has the space to store it (we under-report max varyings compared to what hw can do), so we should just make it work. Regardless, I think this is a sensible change. Reviewed-by: Eric Anholt <[email protected]>
pgp9ZgG3MY1Lo.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
