From: Kenneth Graunke Date: Tue, 21 May 2019 22:18:25 +0000 (-0700) Subject: iris: Ask st to vectorize our IO. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a9e39d44b06076d6ff444b59f2b39ffe222cd2d;p=mesa.git iris: Ask st to vectorize our IO. (Technically this is common code, but it doesn't affect i965 or anv.) Improves performance of GFXBench5/gl_tess_off on Skylake GT4e at 1080p by 9.3933% +/- 0.0305157% by eliminating all spilling in the GS. Improves performance of GFXBench5/gl_4_off (Car Chase) on Skylake GT4e at 1080p by 0.325208% +/- 0.0842233% (n=18). Reviewed-by: Marek Olšák --- diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c index bded536c948..536dc86ab78 100644 --- a/src/intel/compiler/brw_compiler.c +++ b/src/intel/compiler/brw_compiler.c @@ -46,6 +46,7 @@ .lower_isign = true, \ .lower_ldexp = true, \ .lower_device_index_to_zero = true, \ + .vectorize_io = true, \ .use_interpolated_input_intrinsics = true, \ .vertex_id_zero_based = true, \ .lower_base_vertex = true