vk_scheduler: Properly initialize vulkan structures in RenderState. (#3479)

This commit is contained in:
squidbus
2025-08-29 17:28:20 -07:00
committed by GitHub
parent 56626111ab
commit 62ddc0664b

View File

@@ -33,6 +33,9 @@ struct RenderState {
RenderState() {
std::memset(this, 0, sizeof(*this));
color_attachments.fill(vk::RenderingAttachmentInfo{});
depth_attachment = vk::RenderingAttachmentInfo{};
stencil_attachment = vk::RenderingAttachmentInfo{};
num_layers = 1;
}