diff options
author | Timothy Arceri <[email protected]> | 2016-01-23 09:08:23 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-02-09 22:44:22 +1100 |
commit | 9dd6a4ea793dd050cebbacbd5f429d4e8e57ee26 (patch) | |
tree | cbaf7f50b786d68c7e2a90a521b35daccc8bbd42 /src/compiler/shader_enums.c | |
parent | fd0b89ad8d7ba10045683e4768a89811c8633a85 (diff) |
glsl: clean up and fix bug in varying linking rules
The existing code was very hard to follow and has been the source
of at least 3 bugs in the past year.
The existing code also has a bug for SSO where if we have a
multi-stage SSO for example a tes -> gs program, if we try to use
transform feedback with gs the existing code would look for the
transform feedback varyings in the tes stage and fail as it can't
find them.
V2: Add more code comments, always try to remove unused inputs
to the first stage.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.c')
0 files changed, 0 insertions, 0 deletions