OSDN Git Service

i965: make use of nir linking
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 7 Sep 2017 13:29:25 +0000 (23:29 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 26 Sep 2017 12:37:02 +0000 (22:37 +1000)
commit379b24a40d3d34ffdaaeb1b328f50e28ecb01468
tree43a44439d7629e2a95ab166b551e04fc231374dd
parent49e4248a93a790a40618542b4081f8a54183b27a
i965: make use of nir linking

For now linking is just removing unused varyings between stages.

shader-db results BDW:

total instructions in shared programs: 13198288 -> 13191693 (-0.05%)
instructions in affected programs: 48325 -> 41730 (-13.65%)
helped: 473
HURT: 0

total cycles in shared programs: 541184926 -> 541159260 (-0.00%)
cycles in affected programs: 213238 -> 187572 (-12.04%)
helped: 435
HURT: 8

V2:
- lower indirects on demoted inputs as well as outputs.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_link.cpp