summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtin_variables.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-06-26 13:06:47 -0600
committerBrian Paul <[email protected]>2012-06-27 11:31:16 -0600
commit8fb1e4a4628caee9e80dcbc47f8f9c772db09419 (patch)
tree8c2daa1019e10628fa90518d1da4f88cf0648305 /src/glsl/builtin_variables.cpp
parentd9d84068e76bf1f6dcf578e39636d3100e6348a0 (diff)
glsl: be more careful about counting varying vars in the linker
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. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/builtin_variables.cpp')
0 files changed, 0 insertions, 0 deletions