Mesa (master): freedreno/a6xx: Turn on vectorize_io
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Sep 19 00:32:50 UTC 2019
Module: Mesa
Branch: master
Commit: cc4fe81145388085448c76db2bea8463a2991729
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc4fe81145388085448c76db2bea8463a2991729
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Fri Jul 12 12:36:45 2019 -0700
freedreno/a6xx: Turn on vectorize_io
We want this for tessellation eventually, but we can turn it on now.
Shader-db results:
total instructions in shared programs: 8612905 -> 8611387 (-0.02%)
instructions in affected programs: 164952 -> 163434 (-0.92%)
total dwords in shared programs: 11952000 -> 11950560 (-0.01%)
dwords in affected programs: 68096 -> 66656 (-2.11%)
total full in shared programs: 315019 -> 315009 (<.01%)
full in affected programs: 1642 -> 1632 (-0.61%)
total constlen in shared programs: 2463654 -> 2463654 (0.00%)
constlen in affected programs: 0 -> 0
total (ss) in shared programs: 152379 -> 152409 (0.02%)
(ss) in affected programs: 1503 -> 1533 (2.00%)
total (sy) in shared programs: 96473 -> 96525 (0.05%)
(sy) in affected programs: 654 -> 706 (7.95%)
total max_sun in shared programs: 1172454 -> 1172472 (<.01%)
max_sun in affected programs: 104 -> 122 (17.31%)
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
src/freedreno/ir3/ir3_nir.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c
index 50a961f2bad..0a62523ccce 100644
--- a/src/freedreno/ir3/ir3_nir.c
+++ b/src/freedreno/ir3/ir3_nir.c
@@ -81,6 +81,7 @@ static const nir_shader_compiler_options options_a6xx = {
.lower_bitfield_extract_to_shifts = true,
.use_interpolated_input_intrinsics = true,
.lower_rotate = true,
+ .vectorize_io = true,
};
const nir_shader_compiler_options *
More information about the mesa-commit
mailing list