diff options
author | Samuel Pitoiset <[email protected]> | 2018-03-08 09:53:14 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-03-08 11:56:05 +0100 |
commit | 4e3c1ace659c7325bd8d54b66370c3755e40a266 (patch) | |
tree | 56d5fd8e59a186e958926c10c8407ecae393cca1 /src/glx | |
parent | 19dd7f007e62d3962a5a9f1d92332e8e23e0deee (diff) |
ac/nir: do not emit unnecessary null exports in fragment shaders
Null exports should only be needed when no other exports are
emitted. This removes a bunch of 'exp null off, off, off, off done vm'.
Affected games are Dota 2 and Wolfenstein 2, not sure if that
really helps, but code size is decreasing there.
Polaris10:
Totals from affected shaders:
SGPRS: 8216 -> 8216 (0.00 %)
VGPRS: 7072 -> 7072 (0.00 %)
Spilled SGPRs: 0 -> 0 (0.00 %)
Spilled VGPRs: 0 -> 0 (0.00 %)
Code Size: 454968 -> 453896 (-0.24 %) bytes
Max Waves: 772 -> 772 (0.00 %)
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/glx')
0 files changed, 0 insertions, 0 deletions