mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
radv: only re-initialize DCC for one level for the HW resolve path
The source image can only have one level, so only level in the destination image needs to be re-initialized. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26316>
This commit is contained in:
parent
91aaf0c663
commit
70556739e0
1 changed files with 1 additions and 1 deletions
|
|
@ -568,7 +568,7 @@ radv_cmd_buffer_resolve_rendering_hw(struct radv_cmd_buffer *cmd_buffer, struct
|
|||
VkImageSubresourceRange range = {
|
||||
.aspectMask = dst_iview->vk.aspects,
|
||||
.baseMipLevel = dst_iview->vk.base_mip_level,
|
||||
.levelCount = dst_iview->vk.level_count,
|
||||
.levelCount = 1,
|
||||
.baseArrayLayer = 0,
|
||||
.layerCount = 1,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue