summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2019-05-21 15:18:25 -0700
committerKenneth Graunke <kenneth@whitecape.org>2019-05-28 01:06:48 -0700
commit6a9e39d44b06076d6ff444b59f2b39ffe222cd2d (patch)
tree301dc62956b73106a9dd4163b3e80d4c79974161
parentc31b4420e7812e144d9d7601c037e3225000b24c (diff)
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 <marek.olsak@amd.com>
-rw-r--r--src/intel/compiler/brw_compiler.c1
1 files changed, 1 insertions, 0 deletions
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