Skip to content

Commit

Permalink
Fix for MSAA depth resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
attackgoat committed Jan 17, 2025
1 parent b9292a5 commit 36366a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/driver/render_pass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ impl RenderPass {
subpass.depth_stencil_resolve_attachment.map(
|(_, depth_resolve_mode, stencil_resolve_mode)| {
vk::SubpassDescriptionDepthStencilResolve::default()
.depth_stencil_resolve_attachment(subpass_attachments.last().unwrap())
.depth_resolve_mode(
depth_resolve_mode.map(Into::into).unwrap_or_default(),
)
Expand Down

0 comments on commit 36366a7

Please sign in to comment.