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:
Samuel Iglesias Gonsálvez 2021-01-21 10:23:51 +01:00
parent d52917f858
commit 029bc53be6
1 changed files with 1 additions and 1 deletions

View File

@ -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;