Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix unexpected error in CreatePipelineCheckShaderCapabilityExtension2of2 #89

Closed
karl-lunarg opened this issue May 14, 2018 · 2 comments
Closed
Assignees
Labels
Bug Something isn't working
Milestone

Comments

@karl-lunarg
Copy link
Contributor

Issue by chrisforbes (MIGRATED)
Friday May 04, 2018 at 18:12 GMT
Originally opened as KhronosGroup/Vulkan-LoaderAndValidationLayers#2645


[ RUN      ] VkPositiveLayerTest.CreatePipelineCheckShaderCapabilityExtension2of2
Unexpected: Object: VK_NULL_HANDLE (Type = 0) | SPIR-V module not valid: Vulkan spec allows BuiltIn ViewportIndex to be used only with Fragment or Geometry execution models. ID <0> (OpStore) is referencing ID <8> (OpVariable) which is decorated with BuiltIn ViewportIndex in function <4> called with execution model Vertex.

This may be a limitation of the current SPIRV-Tools, but needs some investigation.

@karl-lunarg karl-lunarg added the Bug Something isn't working label May 14, 2018
@karl-lunarg
Copy link
Contributor Author

Comment by chrisforbes (MIGRATED)
Friday May 04, 2018 at 19:57 GMT


This shader needs to express the ShaderViewportIndexLayerNV capability, which it doesn't.

@mark-lunarg
Copy link
Contributor

This unexpected error no longer occurs.

@shannon-lunarg shannon-lunarg added this to the sdk-1.1.114.0 milestone Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants