mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
radv/meta: remove useless assertion when choosing resolve method
The destination image layout is used for depth/stencil resolves and asserting isn't very useful. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37300>
This commit is contained in:
parent
c8f6b27964
commit
8d991c2572
1 changed files with 0 additions and 1 deletions
|
|
@ -220,7 +220,6 @@ radv_pick_resolve_method_images(struct radv_device *device, struct radv_image *s
|
|||
else if (src_image->vk.array_layers > 1 || dst_image->vk.array_layers > 1)
|
||||
*method = RESOLVE_COMPUTE;
|
||||
} else {
|
||||
assert(dst_image_layout == VK_IMAGE_LAYOUT_UNDEFINED);
|
||||
if (src_image->vk.array_layers > 1 || dst_image->vk.array_layers > 1 ||
|
||||
(dst_image->planes[0].surface.flags & RADEON_SURF_NO_RENDER_TARGET))
|
||||
*method = RESOLVE_COMPUTE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue