Add initialisers for a couple of missing things in pipeline state

This commit is contained in:
baldurk
2015-12-30 17:46:14 +01:00
parent b4fb266af9
commit ee175febb8
+4 -1
View File
@@ -143,6 +143,7 @@ struct VulkanPipelineState
struct SpecInfo
{
SpecInfo() : specID(0) {}
uint32_t specID;
rdctype::array<byte> 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