Vertex input state for all pipeline_library tests didn't
have VK_PIPELINE_CREATE_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT
set (all other states had this flag set). This change fixes that.
Components: Vulkan
VK-GL-CTS issue: 3578
Affects:
dEQP-VK.dynamic_state.pipeline_library.*
dEQP-VK.pipeline.pipeline_library.*
dEQP-VK.fragment_shading_rate.pipeline_library.*
Change-Id: Ic8ec0bb141dc7a1670ba3baee0229baf5203eae0
pipelinePartCreateInfo.pInputAssemblyState = pInputAssemblyState;
pipelinePartCreateInfo.pDynamicState = m_internalData->pDynamicState;
- if (m_internalData->pipelineConstructionType == PIPELINE_CONSTRUCTION_TYPE_FAST_LINKED_LIBRARY)
+ if (m_internalData->pipelineConstructionType == PIPELINE_CONSTRUCTION_TYPE_LINK_TIME_OPTIMIZED_LIBRARY)
pipelinePartCreateInfo.flags |= VK_PIPELINE_CREATE_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT;
m_pipelineParts[0] = createGraphicsPipeline(m_internalData->vk, m_internalData->device, partPipelineCache, &pipelinePartCreateInfo);