mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 08:10:32 +01:00
radv: initialize the aspect mask when decompressing resolve source images
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-By: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
c31a07fa85
commit
4efbd963ec
1 changed files with 1 additions and 0 deletions
|
|
@ -719,6 +719,7 @@ radv_decompress_resolve_subpass_src(struct radv_cmd_buffer *cmd_buffer)
|
|||
fb->attachments[src_att.attachment].attachment->image;
|
||||
|
||||
VkImageResolve region = {};
|
||||
region.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
|
||||
region.srcSubresource.baseArrayLayer = 0;
|
||||
region.srcSubresource.mipLevel = 0;
|
||||
region.srcSubresource.layerCount = src_image->info.array_size;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue