mesa/src
Iván Briano 6fb64a1e3b anv: fix capture/replay of sparse images with descriptor buffer
We were not implementing vkGetImageOpaqueCaptureDescriptorDataEXT,
relying on the common implementation that does nothing. That works well
enough for regular images because the fixed address needed for
capture/replay is handled by the memory allocation path, but for sparse
images we initialize the sparse bindings at image creation time.

Here we implement the function to retrieve the addresses of all the
used bindings for the image, then use all of them at creation time.
Also, set the correct alloc_flags for this to work.

Fixes: 43b57ee8a5 ("anv: add capture/replay support for image with descriptor buffers")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35872>
(cherry picked from commit 20f546d6c1)
2025-08-27 08:59:51 +02:00
..
amd radv/video: Enable AV1 decode workaround for gfx1153 2025-08-27 08:59:51 +02:00
android_stub
asahi agx: gate scratch opt on internal shaders 2025-08-13 12:59:04 +02:00
broadcom v3dv: Do not increase TFU READAHEAD for imported buffers size 2025-07-16 16:23:12 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler compiler/rust: fix errors about hiding elided lifetime 2025-08-27 08:59:51 +02:00
drm-shim
egl perfetto: unify init 2025-08-13 12:59:05 +02:00
etnaviv meson: Streamline silencing of warnings in bindgen generated code 2025-07-16 16:23:09 +02:00
freedreno ir3/array_to_ssa: fix updating/removing phis 2025-08-27 08:59:50 +02:00
gallium radeonsi/vcn: Enable AV1 decode workaround for gfx1153 2025-08-27 08:59:51 +02:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: get rid of logspam in virtualized case 2025-06-04 15:52:44 +02:00
glx glx: Fix memory leak with software dri 2025-07-02 16:19:30 +02:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel anv: fix capture/replay of sparse images with descriptor buffer 2025-08-27 08:59:51 +02:00
loader loader: Report DRI_PRIME errors earlier 2025-07-16 16:23:12 +02:00
mapi Get rid of 5 remaining references to glapitable.h 2025-04-27 11:44:57 +02:00
mesa st/interup: flushing objects is a no-op when no context is bound 2025-08-13 12:59:04 +02:00
microsoft dzn: Roll up initialization failure in dzn_meta_init 2025-07-02 16:19:32 +02:00
nouveau compiler/rust: fix errors about hiding elided lifetime 2025-08-27 08:59:51 +02:00
panfrost perfetto: unify init 2025-08-13 12:59:05 +02:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util u_trace: Indirect capture fixes 2025-08-13 12:59:05 +02:00
virtio venus: hide swapchainMaintenance1 behind wsi guard 2025-08-27 08:59:50 +02:00
vulkan vulkan/util: add missing vulkan header 2025-08-13 12:59:06 +02:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: split subdir for virtio/vdrm and virtio/vulkan 2025-07-16 16:23:06 +02:00