diff options
author | Brian Paul <[email protected]> | 2009-06-11 14:55:25 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-06-11 14:58:25 -0600 |
commit | 3754c4135cb29e23bd81d573af458742e9a624b2 (patch) | |
tree | 6ccfe766e6519659d2907368c058728c6f4ef15b /src/mesa/main | |
parent | 322e8556b91ceb80d4a53129cbb5db99087085f1 (diff) |
mesa: rework vertex shader output / fragment shader input attribute matching
Before, if a vertex shader's outputs didn't exactly match a fragment
shader's inputs we could wind up with invalid TGSI shader declarations.
For example:
Before patch:
DCL OUT[0], POSITION
DCL OUT[1], COLOR[1]
DCL OUT[2], GENERIC[0]
DCL OUT[3], GENERIC[0] <- note duplicate [0]
DCL OUT[4], GENERIC[2]
After patch:
DCL OUT[0], POSITION
DCL OUT[1], COLOR[1]
DCL OUT[2], GENERIC[0]
DCL OUT[3], GENERIC[1]
DCL OUT[4], GENERIC[2]
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions