https://bugs.freedesktop.org/show_bug.cgi?id=65416
--- Comment #2 from Alex Deucher agd5f@yahoo.com --- Couldn't this be done in a device independent manner in mesa when linking shaders? Drop outputs if there is no matching input in the subsequent shader stage?