Commit 029bc53b authored by Samuel Iglesias Gonsálvez's avatar Samuel Iglesias Gonsálvez
Browse files

turnip: fix typo in tu_CmdBeginRenderPass2()


Signed-off-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Emma Anholt's avatarEric Anholt <eric@anholt.net>
Part-of: <!8615>
parent d52917f8
Pipeline #302055 waiting for manual action with stages
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment