mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
dzn: Don't resolve for RESOLVE_MODE_NONE
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27348>
This commit is contained in:
parent
dd7cfd5255
commit
973c5bd047
1 changed files with 1 additions and 1 deletions
|
|
@ -4691,7 +4691,7 @@ dzn_cmd_buffer_resolve_rendering_attachment(struct dzn_cmd_buffer *cmdbuf,
|
|||
struct dzn_image_view *src = att->iview;
|
||||
struct dzn_image_view *dst = att->resolve.iview;
|
||||
|
||||
if (!src || !dst)
|
||||
if (!src || !dst || att->resolve.mode == VK_RESOLVE_MODE_NONE)
|
||||
return;
|
||||
|
||||
struct dzn_device *device = container_of(cmdbuf->vk.base.device, struct dzn_device, vk);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue