diff options
author | Kristian H. Kristensen <[email protected]> | 2019-07-12 12:36:45 -0700 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2019-09-18 16:59:10 -0700 |
commit | cc4fe81145388085448c76db2bea8463a2991729 (patch) | |
tree | 85e7becf24a8db0b8d522d41f5f63e0b452330ab | |
parent | 1cb9534434cdce4378eac4baedaf99ee466b2936 (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r-- | src/freedreno/ir3/ir3_nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 * |