diff options
author | Rhys Perry <pendingchaos02@gmail.com> | 2021-12-03 13:48:28 +0000 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-04-13 16:23:35 +0000 |
commit | 9d1bab3615572ca805d3090f53b8aaa6cf2b3481 (patch) | |
tree | c198db3809a1758cebdcf916d0d2c4c907b0cf62 | |
parent | 3e9517c7577fe1764fef2c5559afa1acd1120134 (diff) | |
download | mesa-9d1bab3615572ca805d3090f53b8aaa6cf2b3481.tar.gz |
aco: increase global_load_params.max_const_offset_plus_one
The callback now supports this. This shouldn't have any effect yet except
on GFX6 with 12 byte loads.
fossil-db (Pitcairn):
Totals from 246 (0.18% of 135668) affected shaders:
VGPRs: 14684 -> 14768 (+0.57%); split: -0.44%, +1.01%
CodeSize: 1765792 -> 1738040 (-1.57%)
Instrs: 344605 -> 340055 (-1.32%)
Latency: 4892904 -> 4861942 (-0.63%)
InvThroughput: 2479599 -> 2446070 (-1.35%)
VClause: 8782 -> 8735 (-0.54%)
SClause: 9854 -> 9853 (-0.01%)
Copies: 47327 -> 45401 (-4.07%); split: -4.08%, +0.01%
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14124>
-rw-r--r-- | src/amd/compiler/aco_instruction_selection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index c9699f84fd4..853f212ccc4 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -4468,7 +4468,7 @@ global_load_callback(Builder& bld, const LoadEmitInfo& info, Temp offset, unsign return val; } -const EmitLoadParameters global_load_params{global_load_callback, true, true, 1}; +const EmitLoadParameters global_load_params{global_load_callback, true, true, UINT32_MAX}; Temp load_lds(isel_context* ctx, unsigned elem_size_bytes, unsigned num_components, Temp dst, |