i965: Enable vector shrinking in the vec4 backend

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 3 August 2020 21:26 UTC

This manages to make some extra vec operations that would turn into movs go away.

brw shader-db: total instructions in shared programs: 3895037 -> 3893221 (-0.05%) total cycles in shared programs: 113832759 -> 113792154 (-0.04%)

023e6669cc1 i965: Enable vector shrinking in the vec4 backend.
src/intel/compiler/brw_nir.c | 2 ++
1 file changed, 2 insertions(+)

Upstream: cgit.freedesktop.org


  • Share