intel/nir: Call nir_lower_io_to_scalar_early
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 31 Jul 2018 13:16:34 +0000 (06:16 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Aug 2018 01:02:28 +0000 (18:02 -0700)
commit4434591bf56a6b0c193ef209ea9d7b9e3c95a522
treedf4e99ea23db803cefa793e8d59a484712e27145
parentb0bb547f782301199e75dc107ac335faf4eb990c
intel/nir: Call nir_lower_io_to_scalar_early

Shader-db results on Kaby Lake:

    total instructions in shared programs: 15166953 -> 15073611 (-0.62%)
    instructions in affected programs: 2390284 -> 2296942 (-3.91%)
    helped: 16469
    HURT: 505

    total loops in shared programs: 4954 -> 4951 (-0.06%)
    loops in affected programs: 3 -> 0
    helped: 3
    HURT: 0

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_nir.c