diff options
author | Kenneth Graunke <[email protected]> | 2016-04-20 01:42:25 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-05-05 14:24:00 -0700 |
commit | c7a8b3270058a8831ee811494f722d278074b0f1 (patch) | |
tree | d4b3080546471d1b45422ee9f6f25a8e2919bf77 /src/compiler/nir/nir_opcodes_c.py | |
parent | 49ea7454a189d9ebfa03fddfdba9949c6eaf4caa (diff) |
nir: Replace vecN(undef, undef, ...) with a single undef.
shader-db statistics on Broadwell:
total instructions in shared programs: 8963409 -> 8962455 (-0.01%)
instructions in affected programs: 60858 -> 59904 (-1.57%)
helped: 318
HURT: 0
total cycles in shared programs: 71408022 -> 71406276 (-0.00%)
cycles in affected programs: 398416 -> 396670 (-0.44%)
helped: 199
HURT: 51
GAINED: 1
The only shaders affected were in Dota 2 Reborn.
It also sets up for the next optimization.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_opcodes_c.py')
0 files changed, 0 insertions, 0 deletions