summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-11-13 14:40:22 -0800
committerEric Anholt <[email protected]>2012-11-17 12:55:54 -0800
commit94e82b2e6cabd7ad26ff35067f6b6675168649d3 (patch)
treeada17a21c2d8c6c24c7e5e68884d79599c55f24d /src/mesa/state_tracker
parent5c99697f74c68f7e170564d791b95d986a18774a (diff)
mesa: Fix linker-assigned varying component counting since 8fb1e4a462
The goal of that change was to skip counting things that aren't actually outputs from the VS to the FS. However, explicit_location isn't set in the case of linker-assigned locations (the common case), so basically varying component counting got disabled. At this stage of the linker, we've already ensured that var->location is set, so we can just look at it without worrying. Fixes i965 assertion failure with the new piglit glsl-max-varyings --exceed-limits. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51545 Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
0 files changed, 0 insertions, 0 deletions