radv/meta: fix saving push constants for depth/stensil resolves on compute

Found by inspection.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37300>
(cherry picked from commit 2207d1e732)
This commit is contained in:
Samuel Pitoiset 2025-09-10 15:01:20 +02:00 committed by Eric Engestrom
parent 63548eec0b
commit a98c46f992
2 changed files with 3 additions and 2 deletions

View file

@ -3934,7 +3934,7 @@
"description": "radv/meta: fix saving push constants for depth/stensil resolves on compute",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -455,7 +455,8 @@ radv_depth_stencil_resolve_rendering_cs(struct radv_cmd_buffer *cmd_buffer, VkIm
radv_decompress_resolve_src(cmd_buffer, src_image, src_layout, &region);
radv_meta_save(&saved_state, cmd_buffer, RADV_META_SAVE_COMPUTE_PIPELINE | RADV_META_SAVE_DESCRIPTORS);
radv_meta_save(&saved_state, cmd_buffer,
RADV_META_SAVE_COMPUTE_PIPELINE | RADV_META_SAVE_DESCRIPTORS | RADV_META_SAVE_CONSTANTS);
struct radv_image_view *dst_iview = render->ds_att.resolve_iview;
VkImageLayout dst_layout =