From fd2ef14f747a3617246a607158ee993bd28c0055 Mon Sep 17 00:00:00 2001 From: Sergey Kosarevsky Date: Tue, 19 Dec 2023 18:30:20 -0800 Subject: [PATCH] Specify RenderPass::AttachmentDesc type name --- lvk/vulkan/VulkanClasses.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lvk/vulkan/VulkanClasses.cpp b/lvk/vulkan/VulkanClasses.cpp index 243bfdd5a5..f7f379ad26 100644 --- a/lvk/vulkan/VulkanClasses.cpp +++ b/lvk/vulkan/VulkanClasses.cpp @@ -2340,7 +2340,7 @@ void lvk::CommandBuffer::cmdBeginRendering(const lvk::RenderPass& renderPass, co if (fb.depthStencil.texture) { auto& depthTexture = *ctx_->texturesPool_.get(fb.depthStencil.texture); - const auto& descDepth = renderPass.depth; + const RenderPass::AttachmentDesc& descDepth = renderPass.depth; LVK_ASSERT_MSG(descDepth.level == mipLevel, "Depth attachment should have the same mip-level as color attachments"); depthAttachment = { .sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,