turnip: fix typo in tu_CmdBeginRenderPass2()
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8615>
This commit is contained in:
parent
d52917f858
commit
029bc53be6
|
@ -2946,7 +2946,7 @@ tu_CmdBeginRenderPass2(VkCommandBuffer commandBuffer,
|
|||
if (a != VK_ATTACHMENT_UNUSED) {
|
||||
const struct tu_render_pass_attachment *att = &cmd->state.pass->attachments[a];
|
||||
struct tu_image *image = fb->attachments[a].attachment->image;
|
||||
/* if image as lrz and it isn't a stencil-only clear: */
|
||||
/* if image has lrz and it isn't a stencil-only clear: */
|
||||
if (image->lrz_height &&
|
||||
(att->clear_mask & (VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT))) {
|
||||
cmd->state.lrz.image = image;
|
||||
|
|
Loading…
Reference in New Issue