Access Violation Reading Location in vkCreateGraphicsPipelines solved

The forum has blocked me from posting this in the primary thread.

The crash resulted from setting VkPipelineShaderStageCreateInfo.pName incorrectly.

It must be a valid entry point into the shader. If not an NPR exception occurs on windows. I assume a segfault would occur on Linux.

The spec is quite clear on what’s required. IMO the field should be rename pEntryPointName or something more informative.

One thing that would helped would be placing the struct name in front of the invalid field name when the validator posts a message.

There was another error where I had to do a treasure hunt of the entire structure to find a field matching the message name.

Problem resolved. First cut at VulkanQuickStart is now on github.

Many thanks to all.

A post was merged into an existing topic: Access Violation Reading Location in vkCreateGraphicsPipelines