dzn: correct assert-condition
This logic accidentally got flipped in a refactoring. Let's correct it!
Fixes: e293691a99 ("dzn: Get rid of the render pass logic")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16997>
This commit is contained in:
committed by
Marge Bot
parent
427c34eeca
commit
7dc5255469
@@ -3260,7 +3260,7 @@ dzn_CmdClearAttachments(VkCommandBuffer commandBuffer,
|
||||
|
||||
if (cmdbuf->state.render.attachments.stencil.iview &&
|
||||
(pAttachments[i].aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT)) {
|
||||
assert(view || view == cmdbuf->state.render.attachments.depth.iview);
|
||||
assert(!view || view == cmdbuf->state.render.attachments.depth.iview);
|
||||
view = cmdbuf->state.render.attachments.stencil.iview;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user