diff options
author | Timothy Arceri <[email protected]> | 2015-12-22 10:14:45 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-01-07 09:06:12 +1100 |
commit | 30991d7389b6b475625ccce2aaae2f3f8cf8e95f (patch) | |
tree | ddc87be120d68f455aa433074685dd637ab0f3dd /include/GL/glext.h | |
parent | 0d7477a2899fe74134cd3e12e7adf1eec0c77f7e (diff) |
glsl: remove unused varyings before packing them
Previously we would pack varyings before trying to remove them, this
relied on the packing pass not packing varyings with a location of -1
to avoid packing varyings that should be removed.
However this meant unused varyings with an explicit location would be
packed before they could be removed when we enable packing of them in a
later patch.
V2: fix regression in V1 removing unused varyings in multi-stage SSO,
fix regression with single stage programs.
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'include/GL/glext.h')
0 files changed, 0 insertions, 0 deletions