logicOp = _logicOp;
attachmentCount = static_cast<deUint32>(m_attachments.size());
pAttachments = &m_attachments[0];
+ deMemset(blendConstants, 0, sizeof(blendConstants));
}
PipelineCreateInfo::ColorBlendState::ColorBlendState (deUint32 _attachmentCount,
logicOp = _logicOp;
attachmentCount = static_cast<deUint32>(m_attachments.size());
pAttachments = &m_attachments[0];
+ deMemset(blendConstants, 0, sizeof(blendConstants));
}
PipelineCreateInfo::ColorBlendState::ColorBlendState (const vk::VkPipelineColorBlendStateCreateInfo& createInfo)
logicOp = createInfo.logicOp;
attachmentCount = static_cast<deUint32>(m_attachments.size());
pAttachments = &m_attachments[0];
+ deMemset(blendConstants, 0, sizeof(blendConstants));
}
PipelineCreateInfo::ColorBlendState::ColorBlendState (const ColorBlendState& createInfo, std::vector<float> _blendConstants)