diff --git a/renderdoc/api/replay/vk_pipestate.h b/renderdoc/api/replay/vk_pipestate.h index 30720923b..af8ef1a29 100644 --- a/renderdoc/api/replay/vk_pipestate.h +++ b/renderdoc/api/replay/vk_pipestate.h @@ -143,6 +143,7 @@ struct VulkanPipelineState struct SpecInfo { + SpecInfo() : specID(0) {} uint32_t specID; rdctype::array data; }; @@ -201,7 +202,7 @@ struct VulkanPipelineState struct ColorBlend { ColorBlend() - : alphaToCoverageEnable(false), logicOpEnable(false) + : alphaToCoverageEnable(false), alphaToOneEnable(false), logicOpEnable(false) { blendConst[0] = blendConst[1] = blendConst[2] = blendConst[3] = 0.0f; } @@ -260,6 +261,8 @@ struct VulkanPipelineState { struct RenderPass { + RenderPass() : depthstencilAttachment(-1) {} + ResourceId obj; // VKTODOMED renderpass and subpass information here