}
ComponentMapping::ComponentMapping (vk::VkComponentSwizzle _r,
- vk::VkComponentSwizzle _g,
- vk::VkComponentSwizzle _b,
- vk::VkComponentSwizzle _a)
+ vk::VkComponentSwizzle _g,
+ vk::VkComponentSwizzle _b,
+ vk::VkComponentSwizzle _a)
{
r = _r;
g = _g;
sType = vk::VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO;
pNext = DE_NULL;
+ flags = 0;
buffer = _buffer;
format = _format;
offset = _offset;
sType = vk::VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO;
pNext = DE_NULL;
+ flags = 0;
setLayoutCount = static_cast<deUint32>(m_setLayouts.size());
pSetLayouts = setLayoutCount > 0 ? &m_setLayouts[0] : DE_NULL;
pushConstantRangeCount = static_cast<deUint32>(m_pushConstantRanges.size());
sType = vk::VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO;
pNext = DE_NULL;
- setLayoutCount = static_cast<deUint32>(m_setLayouts.size());
+ flags = 0;
+ setLayoutCount = static_cast<deUint32>(m_setLayouts.size());
if (setLayoutCount)
{
{
sType = vk::VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO;
pNext = DE_NULL;
- patchControlPoints = _patchControlPoints;
+ flags = 0;
+ patchControlPoints = _patchControlPoints;
}
PipelineCreateInfo::ViewportState::ViewportState (deUint32 _viewportCount,
{
sType = other.sType;
pNext = other.pNext;
+ flags = other.flags;
viewportCount = other.viewportCount;
scissorCount = other.scissorCount;
{
sType = other.sType;
pNext = other.pNext;
+ flags = other.flags;
viewportCount = other.viewportCount;
scissorCount = other.scissorCount;
{
sType = other.sType;
pNext = other.pNext;
+ flags = other.flags;
rasterizationSamples = other.rasterizationSamples;
sampleShadingEnable = other.sampleShadingEnable;
minSampleShading = other.minSampleShading;
{
sType = other.sType;
pNext = other.pNext;
+ flags = other.flags;
rasterizationSamples = other.rasterizationSamples;
sampleShadingEnable = other.sampleShadingEnable;
minSampleShading = other.minSampleShading;
{
sType = vk::VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO;
pNext = DE_NULL;
+ flags = 0;
logicOpEnable = _logicOpEnable;
logicOp = _logicOp;
attachmentCount = static_cast<deUint32>(m_attachments.size());
{
sType = createInfo.sType;
pNext = createInfo.pNext;
+ flags = createInfo.flags;
logicOpEnable = createInfo.logicOpEnable;
logicOp = createInfo.logicOp;
attachmentCount = static_cast<deUint32>(m_attachments.size());
{
sType = createInfo.sType;
pNext = createInfo.pNext;
+ flags = createInfo.flags;
logicOpEnable = createInfo.logicOpEnable;
logicOp = createInfo.logicOp;
attachmentCount = static_cast<deUint32>(m_attachments.size());
PipelineCreateInfo::DynamicState::DynamicState (const std::vector<vk::VkDynamicState>& _dynamicStates)
{
- sType = vk::VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO;
- pNext = DE_NULL;
+ sType = vk::VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO;
+ pNext = DE_NULL;
+ flags = 0;
if (!_dynamicStates.size())
{
sType = other.sType;
pNext = other.pNext;
- dynamicStateCount = other.dynamicStateCount;
-
- m_dynamicStates = std::vector<vk::VkDynamicState>(other.pDynamicStates, other.pDynamicStates + dynamicStateCount);
- pDynamicStates = &m_dynamicStates[0];
+ flags = other.flags;
+ dynamicStateCount = other.dynamicStateCount;
+ m_dynamicStates = std::vector<vk::VkDynamicState>(other.pDynamicStates, other.pDynamicStates + dynamicStateCount);
+ pDynamicStates = &m_dynamicStates[0];
}
PipelineCreateInfo::DynamicState& PipelineCreateInfo::DynamicState::operator= (const DynamicState& other)
sType = other.sType;
pNext = other.pNext;
- dynamicStateCount = other.dynamicStateCount;
-
- m_dynamicStates = std::vector<vk::VkDynamicState>(other.pDynamicStates, other.pDynamicStates + dynamicStateCount);
- pDynamicStates = &m_dynamicStates[0];
+ flags = other.flags;
+ dynamicStateCount = other.dynamicStateCount;
+ m_dynamicStates = std::vector<vk::VkDynamicState>(other.pDynamicStates, other.pDynamicStates + dynamicStateCount);
+ pDynamicStates = &m_dynamicStates[0];
return *this;
}