Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Shader Object - DrawWithVertAndFragShaderObjects #414

Open
spencer-lunarg opened this issue Aug 23, 2024 · 0 comments
Open

Shader Object - DrawWithVertAndFragShaderObjects #414

spencer-lunarg opened this issue Aug 23, 2024 · 0 comments
Assignees

Comments

@spencer-lunarg
Copy link
Contributor

spencer-lunarg commented Aug 23, 2024

Running VVL PositiveShaderObject.DrawWithVertAndFragShaderObjects with VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_shader_object:VK_LAYER_KHRONOS_validation produces the following error

[ VUID-VkGraphicsPipelineCreateInfo-pStages-06894 ] | MessageID = 0xdfcd6d41 | vkCreateGraphicsPipelines(): pCreateInfos[0] does not have fragment shader state, but stages (VK_SHADER_STAGE_VERTEX_BIT|VK_SHADER_STAGE_FRAGMENT_BIT) contains VK_SHADER_STAGE_FRAGMENT_BIT

This is a positive tests, so it should be valid Vulkan and expect valid Vulkan coming out


Same thing for

  • PositiveShaderObject.MissingCmdSetDepthBiasEnable
  • PositiveShaderObject.VertFragShaderDraw
  • PositiveShaderObject.DrawWithAllGraphicsShaderStagesUsed
  • PositiveShaderObject.DrawMinimalDynamicStates
  • PositiveShaderObject.DrawMinimalDynamicStatesRasterizationDisabled
  • PositiveShaderObject.ShadersDescriptorSets
  • PositiveShaderObject.MultiplePushConstants
  • PositiveShaderObject.MultipleSpecializationConstants
  • ... etc
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants