mesa/src/amd/common
Rhys Perry 7f3900ed20 ac/nir_lower_global_access: perform range analysis if useful
fossil-db (navi31):
Totals from 1197 (0.59% of 202426) affected shaders:
Instrs: 2117283 -> 2108380 (-0.42%); split: -0.47%, +0.05%
CodeSize: 11183776 -> 11140060 (-0.39%); split: -0.42%, +0.03%
Latency: 13568247 -> 13648044 (+0.59%); split: -0.13%, +0.72%
InvThroughput: 2389746 -> 2376716 (-0.55%); split: -0.63%, +0.09%
VClause: 43337 -> 43138 (-0.46%); split: -0.51%, +0.05%
SClause: 31035 -> 31027 (-0.03%); split: -0.22%, +0.20%
Copies: 227528 -> 227002 (-0.23%); split: -0.59%, +0.36%
Branches: 29393 -> 29392 (-0.00%); split: -0.01%, +0.00%
PreSGPRs: 64238 -> 64336 (+0.15%)
PreVGPRs: 70480 -> 70468 (-0.02%)
VALU: 1387439 -> 1379274 (-0.59%); split: -0.59%, +0.00%
SALU: 185514 -> 185382 (-0.07%); split: -0.56%, +0.49%
VOPD: 4425 -> 4400 (-0.56%); split: +0.66%, -1.22%

fossil-db (navi21):
Totals from 1197 (0.59% of 202427) affected shaders:
Instrs: 1987004 -> 1974920 (-0.61%); split: -0.64%, +0.03%
CodeSize: 10803928 -> 10745204 (-0.54%); split: -0.56%, +0.01%
VGPRs: 83848 -> 83856 (+0.01%); split: -0.01%, +0.02%
SpillSGPRs: 9843 -> 9861 (+0.18%)
Latency: 14518481 -> 14534898 (+0.11%); split: -0.17%, +0.29%
InvThroughput: 3712336 -> 3698081 (-0.38%); split: -0.52%, +0.13%
VClause: 52677 -> 52546 (-0.25%); split: -0.51%, +0.27%
SClause: 31113 -> 31050 (-0.20%); split: -0.37%, +0.17%
Copies: 219723 -> 218017 (-0.78%); split: -1.05%, +0.27%
Branches: 33717 -> 33716 (-0.00%); split: -0.01%, +0.00%
PreSGPRs: 66364 -> 66480 (+0.17%)
PreVGPRs: 71048 -> 71036 (-0.02%)
VALU: 1442585 -> 1431331 (-0.78%); split: -0.78%, +0.00%
SALU: 209617 -> 208517 (-0.52%); split: -0.88%, +0.35%

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40945>
2026-04-15 15:13:10 +00:00
..
nir ac/nir_lower_global_access: perform range analysis if useful 2026-04-15 15:13:10 +00:00
virtio amd/common/virtio: use hash_table_u64 2026-03-06 11:30:30 +00:00
.clang-format amd: import libdrm_amdgpu ioctl wrappers 2024-11-25 21:03:41 -05:00
ac_binary.c ac/rtld: remove radeon_info 2026-03-16 07:50:02 +00:00
ac_binary.h ac/rtld: remove radeon_info 2026-03-16 07:50:02 +00:00
ac_cmdbuf.c amd: switch to new packet definitions for all packets 2026-04-10 03:42:45 +00:00
ac_cmdbuf.h ac,radv: remove AC_TRACKED_DB_VRS_OVERRIDE_CNTL as well 2026-04-07 22:07:48 +00:00
ac_cmdbuf_cp.c amd: switch to new packet definitions for all packets 2026-04-10 03:42:45 +00:00
ac_cmdbuf_cp.h amd,radv,radeonsi: add a new function to update windowed perf counters 2025-12-24 07:20:01 +00:00
ac_cmdbuf_sdma.c ac/sdma: rework and fix metadata for SDMA7 2026-03-02 14:44:14 +00:00
ac_cmdbuf_sdma.h radv: replace radv_sdma_surf by ac_sdma_surf 2026-03-09 08:40:47 +00:00
ac_debug.c ac: keep a single instance of sid_table 2026-03-02 09:53:40 +01:00
ac_debug.h amd: generate a packet parser/printer automatically from packet definitions 2026-03-11 18:54:20 +00:00
ac_descriptors.c ac: set the correct number of Z planes for ALLOW_EXPCLEAR 2026-03-04 21:14:56 +00:00
ac_descriptors.h ac: add FMASK codes 2026-02-03 17:10:32 +00:00
ac_drm_fourcc.h ac/surface: add radeonsi exported modifiers to supported list 2025-09-15 09:39:19 +00:00
ac_formats.c ac,radeonsi: move SX PS downconversion code into ac_formats.c 2026-01-02 16:46:20 +00:00
ac_formats.h ac,radeonsi: move SX PS downconversion code into ac_formats.c 2026-01-02 16:46:20 +00:00
ac_gather_context_rolls.c amd: switch to new packet definitions for all packets 2026-04-10 03:42:45 +00:00
ac_gpu_info.c ac/tests: use amdgpu shim devices 2026-04-14 12:06:20 +00:00
ac_gpu_info.h ac/info: constify ac_fill_compiler_info 2026-04-14 12:06:20 +00:00
ac_guardband.c ac,radeonsi: move guardband computations to common code 2026-03-10 12:07:46 +00:00
ac_guardband.h ac,radeonsi: move guardband computations to common code 2026-03-10 12:07:46 +00:00
ac_hw_stage.h amd: Move ac_hw_stage to its own file 2023-07-03 21:12:45 +00:00
ac_ib_parser.c ac/parse_ib: Replace the parameter list with ac_ib_parser 2024-03-19 16:08:13 +00:00
ac_linux_drm.c ac: update amdgpu_drm.h for uq metadata query info 2025-12-04 16:34:20 +00:00
ac_linux_drm.h ac/gpu_info: handle more VRAM types 2026-03-04 21:14:56 +00:00
ac_msgpack.c ac: remove unused code 2024-12-26 10:12:43 +00:00
ac_msgpack.h ac: remove unused code 2024-12-26 10:12:43 +00:00
ac_parse_ib.c amd: switch to new packet definitions for all packets 2026-04-10 03:42:45 +00:00
ac_perfcounter.c ac/perfcounter: use GFX11 definition for GFX11.5 2026-01-13 22:16:40 +00:00
ac_perfcounter.h ac,radv,radeonsi: rename num_spm_counters to num_spm_modules 2026-01-12 08:10:32 +00:00
ac_perfcounter_gfx10.c ac,radv,radeonsi: rename num_spm_counters to num_spm_modules 2026-01-12 08:10:32 +00:00
ac_perfcounter_gfx11.c ac/perfcounter: re-order GPU perf blocks on GFX11 2026-01-12 08:10:33 +00:00
ac_perfcounter_gfx12.c ac,radv,radeonsi: rename num_spm_counters to num_spm_modules 2026-01-12 08:10:32 +00:00
ac_perfcounter_gfx103.c ac,radv,radeonsi: rename num_spm_counters to num_spm_modules 2026-01-12 08:10:32 +00:00
ac_pm4.c amd,radv,radeonsi: add ac_pm4_emit_commands() 2025-10-23 08:29:24 +00:00
ac_pm4.h amd,radv,radeonsi: add ac_pm4_emit_commands() 2025-10-23 08:29:24 +00:00
ac_rgp.c radv: improve dumping RGP captures 2026-03-31 06:27:07 +00:00
ac_rgp.h radv: improve dumping RGP captures 2026-03-31 06:27:07 +00:00
ac_rgp_elf_object_pack.c radv/rt: Compile ahit/isec shaders to asm 2026-01-20 21:49:55 +00:00
ac_rtld.c ac/rtld: remove radeon_info 2026-03-16 07:50:02 +00:00
ac_rtld.h ac/rtld: remove radeon_info 2026-03-16 07:50:02 +00:00
ac_shader_args.c ac: Don't include full nir.h anymore. 2025-02-12 22:33:07 +01:00
ac_shader_args.h radv: fix independent sets with dynamic buffers and GPL 2026-02-24 11:12:14 +00:00
ac_shader_debug_info.h amd: Add ac_shader_debug_info 2024-11-11 08:39:13 +00:00
ac_shader_util.c amd: rename ac_cu_info to ac_compiler_info 2026-03-03 08:50:12 +00:00
ac_shader_util.h ac: tidy up ac_hw_cache_flags 2026-03-04 21:14:56 +00:00
ac_shadowed_regs.c amd: switch to new packet definitions for all packets 2026-04-10 03:42:45 +00:00
ac_shadowed_regs.h winsys/amdgpu: enable userq reg shadowing for gfx11.5 2025-11-23 19:44:07 +00:00
ac_spm.c amd: switch to new packet definitions for all packets 2026-04-10 03:42:45 +00:00
ac_spm.h radeonsi/sqtt: use pipe_aligned_buffer_create to allocate bo 2026-02-12 10:08:43 +00:00
ac_sqtt.c amd/packets: remove the underscore between opcode number and word index, use %x 2026-04-10 03:42:45 +00:00
ac_sqtt.h radeonsi/sqtt: use pipe_aligned_buffer_create to allocate bo 2026-02-12 10:08:43 +00:00
ac_surface.c ac/surface: Filter swizzle modes for VCN 2026-04-15 12:48:57 +00:00
ac_surface.h ac/surface: remove remaining occurrences of HiS on GFX12 2026-03-05 13:58:16 +00:00
ac_surface_meta_address_test.c ac/tests: use amdgpu shim devices 2026-04-14 12:06:20 +00:00
ac_surface_modifier_test.c ac/tests: use amdgpu shim devices 2026-04-14 12:06:20 +00:00
ac_surface_test.h ac/tests: use amdgpu shim devices 2026-04-14 12:06:20 +00:00
ac_uvd_dec.c ac: Add UVD ac_video_dec implementation 2026-02-12 15:38:26 +00:00
ac_uvd_dec.h ac: Add UVD ac_video_dec implementation 2026-02-12 15:38:26 +00:00
ac_vcn.h ac,radeonsi/vcn,radv/video: Drop signature param 2025-11-13 14:35:58 +00:00
ac_vcn_av1_default.h ac/radeonsi: add av1 defaults header file from radeonsi 2023-06-16 05:53:44 +00:00
ac_vcn_dec.c ac/vcn_dec: add addr_mode for VCN 5.0.1 2026-04-01 10:32:20 -04:00
ac_vcn_dec.h ac/vcn: correct a typo in av1 dec header 2026-02-25 09:02:28 +00:00
ac_vcn_enc.c ac: Update FW required for variable slice mode 2026-03-29 15:30:55 +00:00
ac_vcn_enc.h ac: Update FW required for variable slice mode 2026-03-29 15:30:55 +00:00
ac_vcn_enc_av1_default_cdf.h ac,radeonsi: move vcn enc av1 default cdf file to common 2023-09-14 07:51:24 +00:00
ac_vcn_vp9_default.h amd: move vp9 probs table to common code. 2025-06-09 20:46:03 +00:00
ac_video.h ac: Add video decode interface 2026-02-12 15:38:25 +00:00
ac_video_dec.c ac: Add UVD ac_video_dec implementation 2026-02-12 15:38:26 +00:00
ac_video_dec.h ac: Add video decode interface 2026-02-12 15:38:25 +00:00
amd_family.c amd: rename most GFX115x definitions for released chips 2025-12-03 13:29:07 +00:00
amd_family.h ac/gpu_info: handle more VRAM types 2026-03-04 21:14:56 +00:00
amdgpu_devices.c ac/tests: use amdgpu shim devices 2026-04-14 12:06:20 +00:00
amdgpu_devices.h ac/tests: use amdgpu shim devices 2026-04-14 12:06:20 +00:00
gfx10_format_table.h amd/common: only pass gfx_level to ac_get_gfx10_format_table() 2024-05-22 08:31:39 +00:00
gfx10_format_table.py ac/gfx10_format_table: Use new names for 422 subsampled formats 2025-10-14 09:33:28 +00:00
meson.build ac/tests: use amdgpu shim devices 2026-04-14 12:06:20 +00:00
sid.h amd/packets: remove the underscore between opcode number and word index, use %x 2026-04-10 03:42:45 +00:00
sid_tables.py ac: keep a single instance of sid_table 2026-03-02 09:53:40 +01:00
u_stub.h ac: add u_stub.h helper 2026-03-02 09:53:51 +01:00