Skip to content

Validation Layer Error: I found out about it on Tutorial 5 part 1. #44

@SireNiklas

Description

@SireNiklas

Hello! I get this error:

validation layer: Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-alphaToCoverageEnable-08891 ] | MessageID = 0xd9edb6c4 | vkCreateGraphicsPipelines(): pCreateInfos[0].pDepthStencilState is NULL when rasterization is enabled and subpass uses a depth/stencil attachment. The Vulkan spec states: If the pipeline is being created with fragment shader state, the VkPipelineMultisampleStateCreateInfo::alphaToCoverageEnable is not ignored and is VK_TRUE, then the Fragment Output Interface must contain a variable for the alpha Component word in Location 0 at Index 0 (https://vulkan.lunarg.com/doc/view/1.3.268.0/windows/1.3-extensions/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-alphaToCoverageEnable-08891)

From what I understand:
VkPipelineMultisampleStateCreateInfo::alphaToCoverageEnable is written in as "VK_FALSE" but due to using a "Fragment Shader State" it ignores that flag and enables it.

I am unsure to exactly what it means or what to do about it. I am doing exactly as it states, I am unsure if there is any other way to go about it or if I missed something.

Thank you, Nicholas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions