Skip to content

Commit

Permalink
Specify RenderPass::AttachmentDesc type name
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark committed Dec 20, 2023
1 parent 76d31ec commit fd2ef14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lvk/vulkan/VulkanClasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fd2ef14

Please sign in to comment.