dEQP-VK.query_pool.*: added missing flags.
authorDae Kim <dae.kimpark@imgtec.com>
Fri, 8 Jan 2016 11:15:14 +0000 (11:15 +0000)
committerDae Kim <dae.kimpark@imgtec.com>
Fri, 8 Jan 2016 11:15:14 +0000 (11:15 +0000)
external/vulkancts/modules/vulkan/query_pool/vktQueryPoolCreateInfoUtil.cpp

index e619fcc..71ec1a2 100644 (file)
@@ -135,6 +135,7 @@ BufferViewCreateInfo::BufferViewCreateInfo (vk::VkBuffer    _buffer,
        sType = vk::VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO;
        pNext = DE_NULL;
 
+       flags   = 0u;
        buffer  = _buffer;
        format  = _format;
        offset  = _offset;
@@ -709,6 +710,8 @@ PipelineLayoutCreateInfo::PipelineLayoutCreateInfo (deUint32                                                        _descriptorSe
 
        sType = vk::VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO;
        pNext = DE_NULL;
+
+       flags                                   = 0u;
        setLayoutCount                  = static_cast<deUint32>(m_setLayouts.size());
        pSetLayouts                             = setLayoutCount > 0 ? &m_setLayouts[0] : DE_NULL;
        pushConstantRangeCount  = static_cast<deUint32>(m_pushConstantRanges.size());
@@ -732,7 +735,8 @@ PipelineLayoutCreateInfo::PipelineLayoutCreateInfo (const std::vector<vk::VkDesc
        sType = vk::VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO;
        pNext = DE_NULL;
 
-       setLayoutCount = static_cast<deUint32>(m_setLayouts.size());
+       flags                   = 0u;
+       setLayoutCount  = static_cast<deUint32>(m_setLayouts.size());
 
        if (setLayoutCount)
        {
@@ -793,7 +797,8 @@ PipelineCreateInfo::TesselationState::TesselationState (deUint32 _patchControlPo
 {
        sType = vk::VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO;
        pNext = DE_NULL;
-       patchControlPoints = _patchControlPoints;
+       flags                           = 0u;
+       patchControlPoints      = _patchControlPoints;
 }
 
 PipelineCreateInfo::ViewportState::ViewportState (deUint32                                             _viewportCount,
@@ -834,6 +839,7 @@ PipelineCreateInfo::ViewportState::ViewportState (const ViewportState& other)
 {
        sType                   = other.sType;
        pNext                   = other.pNext;
+       flags                   = other.flags;
        viewportCount   = other.viewportCount;
        scissorCount    = other.scissorCount;
 
@@ -848,6 +854,7 @@ PipelineCreateInfo::ViewportState& PipelineCreateInfo::ViewportState::operator=
 {
        sType                   = other.sType;
        pNext                   = other.pNext;
+       flags                   = other.flags;
        viewportCount   = other.viewportCount;
        scissorCount    = other.scissorCount;
 
@@ -909,6 +916,7 @@ PipelineCreateInfo::MultiSampleState::MultiSampleState (const MultiSampleState&
 {
        sType                                   = other.sType;
        pNext                                   = other.pNext;
+       flags                                   = other.flags;
        rasterizationSamples    = other.rasterizationSamples;
        sampleShadingEnable             = other.sampleShadingEnable;
        minSampleShading                = other.minSampleShading;
@@ -923,6 +931,7 @@ PipelineCreateInfo::MultiSampleState& PipelineCreateInfo::MultiSampleState::oper
 {
        sType = other.sType;
        pNext = other.pNext;
+       flags                                   = other.flags;
        rasterizationSamples    = other.rasterizationSamples;
        sampleShadingEnable             = other.sampleShadingEnable;
        minSampleShading                = other.minSampleShading;
@@ -957,6 +966,7 @@ PipelineCreateInfo::ColorBlendState::ColorBlendState (deUint32                                                                                      _attach
 {
        sType = vk::VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO;
        pNext   = DE_NULL;
+       flags                                   = 0u;
        logicOpEnable                   = _logicOpEnable;
        logicOp                                 = _logicOp;
        attachmentCount                 = static_cast<deUint32>(m_attachments.size());
@@ -968,6 +978,7 @@ PipelineCreateInfo::ColorBlendState::ColorBlendState (const vk::VkPipelineColorB
 {
        sType = createInfo.sType;
        pNext = createInfo.pNext;
+       flags                                   = createInfo.flags;
        logicOpEnable                   = createInfo.logicOpEnable;
        logicOp                                 = createInfo.logicOp;
        attachmentCount                 = static_cast<deUint32>(m_attachments.size());
@@ -979,6 +990,7 @@ PipelineCreateInfo::ColorBlendState::ColorBlendState (const ColorBlendState& cre
 {
        sType = createInfo.sType;
        pNext = createInfo.pNext;
+       flags                                   = createInfo.flags;
        logicOpEnable                   = createInfo.logicOpEnable;
        logicOp                                 = createInfo.logicOp;
        attachmentCount                 = static_cast<deUint32>(m_attachments.size());
@@ -1052,6 +1064,7 @@ PipelineCreateInfo::DynamicState::DynamicState (const std::vector<vk::VkDynamicS
 {
        sType = vk::VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO;
        pNext = DE_NULL;
+       flags = 0u;
 
        if (!_dynamicStates.size())
        {
@@ -1071,6 +1084,7 @@ PipelineCreateInfo::DynamicState::DynamicState (const DynamicState &other)
 {
        sType = other.sType;
        pNext = other.pNext;
+       flags = other.flags;
 
        dynamicStateCount = other.dynamicStateCount;
 
@@ -1082,6 +1096,7 @@ PipelineCreateInfo::DynamicState& PipelineCreateInfo::DynamicState::operator= (c
 {
        sType = other.sType;
        pNext = other.pNext;
+       flags = other.flags;
 
        dynamicStateCount = other.dynamicStateCount;