mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
radv: set depth to 1 for subpass resolves using the compute path
To match Vulkan convention. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8326>
This commit is contained in:
parent
04e3d7ad93
commit
095a428844
1 changed files with 1 additions and 1 deletions
|
|
@ -872,7 +872,7 @@ radv_cmd_buffer_resolve_subpass_cs(struct radv_cmd_buffer *cmd_buffer)
|
|||
|
||||
VkImageResolve2KHR region = {
|
||||
.sType = VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2_KHR,
|
||||
.extent = (VkExtent3D){ fb->width, fb->height, 0 },
|
||||
.extent = (VkExtent3D){ fb->width, fb->height, 1 },
|
||||
.srcSubresource = (VkImageSubresourceLayers) {
|
||||
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
|
||||
.mipLevel = src_iview->base_mip,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue