Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Fix unexpected error in CreatePipelineCheckShaderCapabilityExtension2of2 #2645

Open
chrisforbes opened this issue May 4, 2018 · 1 comment
Assignees
Labels

Comments

@chrisforbes
Copy link
Collaborator

[ 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.

@chrisforbes chrisforbes added the bug label May 4, 2018
@chrisforbes
Copy link
Collaborator Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants