mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
vk_scheduler: Properly initialize vulkan structures in RenderState. (#3479)
This commit is contained in:
@@ -33,6 +33,9 @@ struct RenderState {
|
|||||||
|
|
||||||
RenderState() {
|
RenderState() {
|
||||||
std::memset(this, 0, sizeof(*this));
|
std::memset(this, 0, sizeof(*this));
|
||||||
|
color_attachments.fill(vk::RenderingAttachmentInfo{});
|
||||||
|
depth_attachment = vk::RenderingAttachmentInfo{};
|
||||||
|
stencil_attachment = vk::RenderingAttachmentInfo{};
|
||||||
num_layers = 1;
|
num_layers = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user