mesa/src/amd/common
Samuel Pitoiset 755cb6cb75 radv: fix independent sets with dynamic buffers and GPL
If a set layout is missing the driver can't compute the dynamic buffer
start offsets correctly. The only solution is to load these offsets from
an user SGPR.

To avoid adding more complexity, these offsets are re-emitted every
time dynamic buffers are dirty. That shouldn't matter because the
combination of dynamic buffers and independent sets is just super rare.

This fixes new VKCTS coverage
dEQP-VK.pipeline.pipeline_library.graphics_library.independent_sets_random.*.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39988>
2026-02-24 11:12:14 +00:00
..
nir ac/nir/ngg: re-enable use of known compile-time GS connectivity 2026-02-18 01:29:37 +00:00
virtio amd/common/virtio: use device fd to init sync provider 2026-01-27 08:24:35 +00:00
.clang-format amd: import libdrm_amdgpu ioctl wrappers 2024-11-25 21:03:41 -05:00
ac_binary.c ac/gpu_info: move some CU information into separate struct ac_cu_info 2025-12-22 07:34:44 +00:00
ac_binary.h radv: only call radv_should_use_wgp_mode() once 2025-10-15 13:37:48 +01:00
ac_cmdbuf.c radv: track redundant PA_SC_VRS_OVERRIDE_CNTL register writes 2026-02-06 07:15:10 +00:00
ac_cmdbuf.h radv: track redundant PA_SC_VRS_OVERRIDE_CNTL register writes 2026-02-06 07:15:10 +00:00
ac_cmdbuf_cp.c ac,radv,radeonsi: shorten some emit macro names 2026-02-04 13:27:49 +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,radv,radeonsi: use correct swizzle/pitch for depth-only images with SDMA 2026-02-13 07:52:29 +01:00
ac_cmdbuf_sdma.h ac,radv,radeonsi: use correct swizzle/pitch for depth-only images with SDMA 2026-02-13 07:52:29 +01:00
ac_debug.c ac/debug: add a function that dumps texture descriptors 2026-01-16 11:35:34 +00:00
ac_debug.h ac/debug: add a function that dumps texture descriptors 2026-01-16 11:35:34 +00:00
ac_descriptors.c ac: remove never enabled gfx12 HiS 2026-01-19 16:58:17 +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 treewide: use UTIL_DYNARRAY_INIT 2025-11-04 13:39:48 +00:00
ac_gpu_info.c ac/gpu_info: Remove FIXME from regalloc hang description 2026-01-21 17:24:57 +00:00
ac_gpu_info.h ac/gpu_info: add #define AMD_MEMCHANNEL_INTERLEAVE_BYTES 2026-01-06 20:32:10 +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: update amdgpu_drm.h for uq metadata query info 2025-12-04 16:34:20 +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_null_device.c ac/gpu_info: add some more flags to ac_cu_info 2025-12-22 07:34:46 +00:00
ac_null_device.h amd, radv: create null device without winsys 2025-11-06 13:53:07 +00:00
ac_parse_ib.c ac/parse_ib: Implement VCN dec message parsing 2025-11-25 19:17:12 +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 ac,radv: sample and set correct shader/memory clocks for RGP 2026-01-12 11:58:43 +00:00
ac_rgp.h radv/rt: Compile ahit/isec shaders to asm 2026-01-20 21:49:55 +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 build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
ac_rtld.h all: rename gl_shader_stage to mesa_shader_stage 2025-08-06 10:28:40 +08: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 ac/gpu_info: add #define AMD_MEMCHANNEL_INTERLEAVE_BYTES 2026-01-06 20:32:10 +00:00
ac_shader_util.h amd: add and use ac_cu_info::has_vtx_format_alpha_adjust_bug 2025-12-22 07:34:48 +00:00
ac_shadowed_regs.c winsys/amdgpu: enable userq reg shadowing for gfx11.5 2025-11-23 19:44:07 +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 ac,radv,radeonsi: shorten some emit macro names 2026-02-04 13:27:49 +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 radv/sqtt: Prevent concurrent submit when sqtt is enabled 2026-01-21 18:55:56 +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: remove never enabled gfx12 HiS 2026-01-19 16:58:17 +00:00
ac_surface.h ac: remove never enabled gfx12 HiS 2026-01-19 16:58:17 +00:00
ac_surface_meta_address_test.c amd/common: rename ac_fake_hw_db.h -> ac_surface_test.h 2025-11-06 13:53:07 +00:00
ac_surface_modifier_test.c util: increase SHA1_DIGEST_LENGTH to 32 (BLAKE3_KEY_LEN) 2026-01-07 08:32:33 +00:00
ac_surface_test.h ac/gpu_info: move some CU information into separate struct ac_cu_info 2025-12-22 07:34:44 +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: Fix tier2 dpb array size 2026-02-19 12:24:29 +00:00
ac_vcn_dec.h ac/vcn_dec: Make the helper functions static 2026-02-12 15:38:26 +00:00
ac_vcn_enc.c ac: Add ac_vcn_init_enc_cmds 2024-09-20 06:58:29 +00:00
ac_vcn_enc.h radeonsi/vcn: Fix AV1 bidir compound encode with order_hint disabled 2025-11-05 09:44:04 +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 amd: rename most GFX115x definitions for released chips 2025-12-03 13:29:07 +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/nir,radv,radeonsi: flip branches to avoid waitcnts 2026-02-16 19:39:43 +00:00
sid.h radv: use the SQTT enable bit for PKT3_DISPATCH_TASKMESH_INDIRECT_MULTI_ACE 2026-01-26 08:10:53 +00:00
sid_tables.py ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00