anv/i965: make use of nir_link_constant_varyings()
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 7 Nov 2018 03:29:18 +0000 (14:29 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 13 Nov 2018 03:06:32 +0000 (14:06 +1100)
commit3561108de089f383bb7733eaf49e3d517994b51c
tree21b2322fbb06dff0b9b5f7f99cd5d668509d8270
parent621b0fa8922ade0a8122b868177308e65e6d3595
anv/i965: make use of nir_link_constant_varyings()

shader-db results for SLK:

total instructions in shared programs: 13106498 -> 13091573 (-0.11%)
instructions in affected programs: 1186244 -> 1171319 (-1.26%)
helped: 6186
HURT: 0

total cycles in shared programs: 332062633 -> 331961653 (-0.03%)
cycles in affected programs: 8537165 -> 8436185 (-1.18%)
helped: 5371
HURT: 862

LOST:   6
GAINED: 14

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_nir.c