mesa/src/amd/vulkan
Samuel Pitoiset 5ad7ae003f radv: fix capture/replay with sparse images and descriptor buffer
The sparse image VA needs to be returned to the application for replay.

Reported by Baldur.

VKCTS has coverage but it doesn't verify this yet.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35162>
(cherry picked from commit 63758bc093)
2025-06-04 15:52:47 +02:00
..
bvh radv: Fix rayTracingPositionFetch with multiple geometies 2025-04-11 22:26:08 +00:00
layers radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
meta radv: fix conditional rendering with DGC and non native 32-bit predicate 2025-05-20 20:18:07 +02:00
nir radv: remove the optimization for equal immutable samplers 2025-05-20 20:18:06 +02:00
tests radv/tests: add few tests that verify drirc options 2025-03-12 09:07:16 +00:00
winsys radv: Return VK_ERROR_INCOMPATIBLE_DRIVER for unsupported devices 2025-05-07 09:04:49 +02:00
.clang-format radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
.editorconfig
meson.build radv: Handle nir_intrinsic_printf 2025-04-10 19:31:37 +00:00
radv_acceleration_structure.c radv: Fix rayTracingPositionFetch with multiple geometies 2025-04-11 22:26:08 +00:00
radv_aco_shader_info.h aco: Move NGG pos export scheduling determination to drivers. 2025-01-30 15:26:45 +00:00
radv_android.c radv: add address binding report support for BOs imported with a fd 2024-12-03 08:13:13 +00:00
radv_android.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_buffer.c radv,driconf: Add radv_force_64k_sparse_alignment config 2025-05-20 20:18:06 +02:00
radv_buffer.h radv: switch to device address from vk_buffer 2025-03-06 09:46:01 +00:00
radv_buffer_view.c radv: Add radv_format_description to remap 10/12bit formats to 16bit 2025-04-02 08:40:28 +00:00
radv_buffer_view.h radv: remove radv_buffer_view_{init,finish}() helpers 2025-02-17 16:53:28 +01:00
radv_check_va.py radv: Add sparse mappings to radv_check_va.py. 2024-11-29 12:57:42 +00:00
radv_cmd_buffer.c radv: fix non-indexed draws with primitive restart enable 2025-05-20 20:18:08 +02:00
radv_cmd_buffer.h radv: fix non-indexed draws with primitive restart enable 2025-05-20 20:18:08 +02:00
radv_constants.h radv: allocate memory for the shader query buffer on GFX12 2025-01-21 08:42:32 +00:00
radv_cp_dma.c radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
radv_cp_dma.h radv: rename fill/copy memory helpers 2025-02-13 13:47:14 +01:00
radv_cp_reg_shadowing.c radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
radv_cp_reg_shadowing.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_cs.c radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
radv_cs.h radv: add macros for paired context registers on GFX12 2025-04-14 06:18:13 +00:00
radv_debug.c radv: dump the Mesa version with RADV_DEBUG=hang 2024-12-09 18:25:24 +00:00
radv_debug.h radv: add RADV_DEBUG=pso_history 2025-03-07 09:14:18 +01:00
radv_descriptor_set.c radv: remove the optimization for equal immutable samplers 2025-05-20 20:18:06 +02:00
radv_descriptor_set.h radv: remove the optimization for equal immutable samplers 2025-05-20 20:18:06 +02:00
radv_device.c radv/sdma: simplify configuring the number of uncompressed DCC blocks 2025-04-16 06:57:00 +00:00
radv_device.h radv/sdma: simplify configuring the number of uncompressed DCC blocks 2025-04-16 06:57:00 +00:00
radv_device_memory.c radv: only enable DCC for invisible VRAM on GFX12 2025-04-14 07:39:33 +00:00
radv_device_memory.h radv: add import and export handle_type in radv_alloc_memory 2025-03-03 08:26:51 +00:00
radv_dgc.c radv: fix conditional rendering with DGC and non native 32-bit predicate 2025-05-20 20:18:07 +02:00
radv_dgc.h radv/meta: convert DGC pipeline layout to vk_meta 2024-12-29 18:31:50 +00:00
radv_event.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_event.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_formats.c radv: ignore radv_disable_dcc_stores on GFX12 2025-05-20 20:18:04 +02:00
radv_formats.h radv: Add radv_format_description to remap 10/12bit formats to 16bit 2025-04-02 08:40:28 +00:00
radv_image.c radv: fix capture/replay with sparse images and descriptor buffer 2025-06-04 15:52:47 +02:00
radv_image.h radv: check HTILE compression for depth/stencil images per level 2025-02-28 08:05:14 +00:00
radv_image_view.c radv: disable TC-compatible CMASK with {FMASK,DCC}_DECOMPRESS 2025-03-28 19:41:07 +00:00
radv_image_view.h radv: disable TC-compatible CMASK with {FMASK,DCC}_DECOMPRESS 2025-03-28 19:41:07 +00:00
radv_instance.c radv,driconf: Add radv_force_64k_sparse_alignment config 2025-05-20 20:18:06 +02:00
radv_instance.h radv,driconf: Add radv_force_64k_sparse_alignment config 2025-05-20 20:18:06 +02:00
radv_llvm_helper.cpp amd,radeonsi: reduce legacy::PassManager use to only run backend passes 2024-10-05 09:10:06 +00:00
radv_llvm_helper.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_nir_to_llvm.c amd: lower load_local_invocation_index in NIR 2025-01-02 17:36:55 +00:00
radv_nir_to_llvm.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_perfcounter.c radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
radv_perfcounter.h radv: add more helpers to start/stop perfcounters 2025-03-28 07:49:04 +00:00
radv_physical_device.c radv: fix capture/replay with sparse images and descriptor buffer 2025-06-04 15:52:47 +02:00
radv_physical_device.h radv/video: Use ac_uvd_alloc_stream_handle 2025-05-20 20:18:06 +02:00
radv_pipeline.c radv: move the disable_trunc_coord drirc at instance/pdev level 2025-04-10 06:36:09 +00:00
radv_pipeline.h radv: add RADV_DEBUG=pso_history 2025-03-07 09:14:18 +01:00
radv_pipeline_binary.c radv: fix creating pipeline binary from the traversal shader 2025-03-25 10:10:06 +00:00
radv_pipeline_binary.h radv: add initial support for pipeline binaries 2024-09-10 08:19:52 +00:00
radv_pipeline_cache.c nir: Don't include the full nir.h when not necessary. 2025-02-12 22:33:07 +01:00
radv_pipeline_cache.h radv: Add missing includes and remove unnecessary NIR includes. 2025-02-12 22:33:07 +01:00
radv_pipeline_compute.c radv: add RADV_DEBUG=pso_history 2025-03-07 09:14:18 +01:00
radv_pipeline_compute.h radv: fix skipping on-disk shaders cache when not useful 2024-11-20 10:01:26 +00:00
radv_pipeline_graphics.c radv: fix emitting dynamic viewports/scissors when the count is static 2025-05-20 20:18:06 +02:00
radv_pipeline_graphics.h radv: roll line topology dynamic state changes into existing rast samples flag 2025-03-06 01:26:02 +00:00
radv_pipeline_rt.c radv: add RADV_DEBUG=pso_history 2025-03-07 09:14:18 +01:00
radv_pipeline_rt.h radv: Add missing includes and remove unnecessary NIR includes. 2025-02-12 22:33:07 +01:00
radv_printf.c radv: Handle nir_intrinsic_printf 2025-04-10 19:31:37 +00:00
radv_printf.h radv: Handle nir_intrinsic_printf 2025-04-10 19:31:37 +00:00
radv_query.c radv: rework suspend/resume user conditional rendering 2025-04-03 08:54:36 +00:00
radv_query.h radv: allocate memory for the shader query buffer on GFX12 2025-01-21 08:42:32 +00:00
radv_queue.c radv: disable SINGLE clear codes to workaround a hw bug with DCC on GFX11 2025-05-06 17:24:02 +02:00
radv_queue.h radv: rename attr_ring to ge_rings 2025-01-14 00:59:38 -08:00
radv_radeon_winsys.h radv: switch back radeon_cmdbuf to use 32-bit counters 2025-04-01 06:18:28 +00:00
radv_rmv.c radv: switch to device address from vk_buffer 2025-03-06 09:46:01 +00:00
radv_rmv.h radv/rmv: fix image binds logging for disjoint images 2024-04-10 11:23:40 +00:00
radv_rra.c vulkan/runtime: rely on vk_buffer::device_address 2025-03-13 14:44:06 +00:00
radv_rra.h radv/rra: Reduce the memory requirement of copy_after_build 2024-06-21 17:47:53 +00:00
radv_sampler.c radv: move the disable_trunc_coord drirc at instance/pdev level 2025-04-10 06:36:09 +00:00
radv_sampler.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_sdma.c radv: fix missing texel scale for unaligned linear SDMA copies 2025-05-20 20:18:08 +02:00
radv_sdma.h radv: fix SDMA copies for linear 96-bits formats 2025-05-20 20:18:06 +02:00
radv_shader.c radv: Handle nir_intrinsic_printf 2025-04-10 19:31:37 +00:00
radv_shader.h radv: add dcc_decompress_gfx11 in radv_graphics_state_key 2025-03-07 15:00:37 +00:00
radv_shader_args.c radv: Remove radv_streamout_info::num_outputs. 2025-04-03 19:54:51 +00:00
radv_shader_args.h radv: declare a new user SGPR for emulating queries on GFX12 2025-01-21 08:42:32 +00:00
radv_shader_info.c radv: do not clear unwritten color attachments with dual-source blending 2025-05-06 17:24:01 +02:00
radv_shader_info.h radv: Remove radv_streamout_info::num_outputs. 2025-04-03 19:54:51 +00:00
radv_shader_object.c radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
radv_shader_object.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_spm.c radv: print more error messages during SPM initialization 2025-04-16 06:35:33 +00:00
radv_spm.h radv: resize the SPM bo when it's too small 2024-10-29 18:33:17 +00:00
radv_sqtt.c radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
radv_sqtt.h radv: add new start/stop sqtt helpers for capturing with SQTT 2024-11-28 07:03:21 +00:00
radv_video.c radv/video: Limit 10bit H265 decode support to stoney and newer 2025-06-04 15:52:44 +02:00
radv_video.h radv/video: Move IB header from begin/end to encode_video 2025-02-18 11:12:22 +00:00
radv_video_enc.c radv/video: Always enable B pictures for H264 encode 2025-04-11 11:15:47 +00:00
radv_wsi.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_wsi.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00