mesa/src/amd/llvm
Rhys Perry ee9b744cb5 radv,aco: use nir_address_format_vec2_index_32bit_offset
The vec2 index helps the compiler make use of SMEM's SOFFSET field when
loading descriptors.

fossil-db (GFX10.3):
Totals from 126326 (86.37% of 146267) affected shaders:
VGPRs: 4898704 -> 4899088 (+0.01%); split: -0.02%, +0.03%
SpillSGPRs: 13490 -> 14404 (+6.78%); split: -1.10%, +7.87%
CodeSize: 306442996 -> 302277700 (-1.36%); split: -1.36%, +0.01%
MaxWaves: 3277108 -> 3276624 (-0.01%); split: +0.01%, -0.02%
Instrs: 58301101 -> 57469370 (-1.43%); split: -1.43%, +0.01%
VClause: 1208270 -> 1199264 (-0.75%); split: -1.02%, +0.28%
SClause: 2517691 -> 2432744 (-3.37%); split: -3.75%, +0.38%
Copies: 3518643 -> 3161097 (-10.16%); split: -10.45%, +0.29%
Branches: 1228383 -> 1228254 (-0.01%); split: -0.12%, +0.11%
PreSGPRs: 3973880 -> 4031099 (+1.44%); split: -0.19%, +1.63%
PreVGPRs: 3831599 -> 3831707 (+0.00%)
Cycles: 1785250712 -> 1778222316 (-0.39%); split: -0.42%, +0.03%
VMEM: 52873776 -> 50663317 (-4.18%); split: +0.18%, -4.36%
SMEM: 8534270 -> 8361666 (-2.02%); split: +1.79%, -3.82%

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9523>
2021-04-27 15:56:07 +00:00
..
ac_llvm_build.c amd: Fix warnings around variable sizes 2021-04-23 10:37:22 +00:00
ac_llvm_build.h ac/llvm: implement 16-bit packed VS outputs and FS inputs 2021-04-13 21:10:43 -04:00
ac_llvm_cull.c ac: add build_alloca with an initializer 2020-11-18 06:19:59 +00:00
ac_llvm_cull.h amd/llvm: switch to 3-spaces style 2020-09-07 10:00:20 +02:00
ac_llvm_helper.cpp amd: drop support for LLVM 9 2021-04-16 09:25:19 +00:00
ac_llvm_util.c amd: remove some references to older LLVM versions in comments 2021-04-16 09:25:19 +00:00
ac_llvm_util.h amd: drop support for LLVM 8 2021-04-16 09:25:19 +00:00
ac_nir_to_llvm.c radv,aco: use nir_address_format_vec2_index_32bit_offset 2021-04-27 15:56:07 +00:00
ac_nir_to_llvm.h ac: move ac_lower_indirect_derefs() outside of the LLVM dir 2021-04-23 11:52:01 +02:00
ac_shader_abi.h ac/llvm: Implement new Geometry Shader intrinsics. 2021-03-17 12:42:23 +00:00
meson.build meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00