I do not understand the error with vkCreateGraphicsPipelines

Hi, I am new to vulkan and when I try to make vkCreateGraphicsPipelines work it puts the following error.

validation layer: Validation Error: [ VUID-VkPipelineShaderStageCreateInfo-sType-sType ] Object 0: handle = 0x25a5c3e88e8, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x567efb65 | vkCreateGraphicsPipelines: parameter pCreateInfos[0].pStages[1].sType must be VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO The Vulkan spec states: sType must be VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO (I cannot put links)

This is my repository is in my github account linked to this (I can not put links), if you want to see the pipelineInfo it in the lve_pipeline.cpp and hpp.

Seems selfexplanatory. pCreateInfos[0].pStages[1].sType should be VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO but it is something else in your code.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.