The test destroys pipeline layout, used to create the graphics pipeline,
before the command buffer using this pipeline is recorded.
This is invalid according to spec:
"A VkPipelineLayout object must not be destroyed while any
command buffer that uses it is in the recording state."
Components: Vulkan
VK-GL-CTS Issue: 1134
Affects:
dEQP-VK.draw.differing_interpolation.*
Change-Id: I2dd692cfb69afaf0b9d6e8d8a29b86b945b7eaba
flushMappedMemoryRange(vk, device, vertexBuffer->getBoundMemory().getMemory(), vertexBuffer->getBoundMemory().getOffset(), VK_WHOLE_SIZE);
}
+ const PipelineLayoutCreateInfo pipelineLayoutCreateInfo;
+ Move<VkPipelineLayout> pipelineLayout = createPipelineLayout(vk, device, &pipelineLayoutCreateInfo);
+
// Create pipeline
{
- const PipelineLayoutCreateInfo pipelineLayoutCreateInfo;
- Move<VkPipelineLayout> pipelineLayout = createPipelineLayout(vk, device, &pipelineLayoutCreateInfo);
const PipelineCreateInfo::ColorBlendState::Attachment vkCbAttachmentState;
VkViewport viewport;