You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a graphics pipeline with the shaders below, Vulkan validations layers from 1.1.130.0 SDK display the following error:
Vulkan debug message (validation): UNASSIGNED-CoreValidation-Shader-InterfaceTypeMismatch
Number of elements inside builtin block differ between stages (vertex shader 1 vs geometry shader 3).
I actually don't work on that validator, and maybe this bug should move there, but speculating a bit...
It seems like it thinks the geometry shader wants 3 elements per vertex (if you're still getting the same error message), and that implies an input primitive of triangles, which I obviously can't square with points.
I looked at the SPIR-V generated for your original post, and it shows an array of size 1 for the inputs, based on points.
When creating a graphics pipeline with the shaders below, Vulkan validations layers from 1.1.130.0 SDK display the following error:
Vertex shader:
Geometry shader:
Fragment shader:
The text was updated successfully, but these errors were encountered: