diff options
author | Nicolai Hähnle <[email protected]> | 2016-10-07 21:30:05 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-10-12 18:50:10 +0200 |
commit | 2299a9940c5ac5fb42b0726afa9a67fc23ba3a48 (patch) | |
tree | 6d3a75265cec15f59c09f425bcec376787850cba /src/mesa/state_tracker/st_debug.h | |
parent | 63193b9cdeca4f5d0e91f90c0926a1565f6b0415 (diff) |
st/glsl_to_tgsi: mark "gaps" in input/output arrays as used
In some cases, a shader may have an input/output array but not use some
entries in the middle. This happens with eON games, for example.
We emit declarations that cover the entire array range even if there are
some unused gaps. This patch now reflects that in the InputsRead etc.
fields to ensure the various input/outputMapping arrays are actually
correct, which will be important when we re-jiggle the way declarations
are emitted.
v2: fix a typo (Edward O'Callaghan)
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_debug.h')
0 files changed, 0 insertions, 0 deletions