-
Notifications
You must be signed in to change notification settings - Fork 569
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
Invalid decoration operand for the PassthroughNV decoration when using the GL_NV_geometry_shader_passthrough extension #1553
Comments
Is it possible for you to provide the SPIR-V or a reduced case that exposes this issue? |
I think the reason is missing SPIRV-Tools needs a proper |
I've created KhronosGroup/SPIRV-Headers#73 for addressing this issue. |
Hey @neXyon, KhronosGroup/SPIRV-Headers#73 is merged now. The work on SPIRV-Tools side is done. I'll close this. Feel free to reopen if it turns out not solving the problem. |
Thanks, that was fast! |
Original/related bug report for reference: KhronosGroup/Vulkan-LoaderAndValidationLayers#2661
I get the error
in a geometry shader with
using the extension
VK_NV_geometry_shader_passthrough
. The compiled shader contains the PassthroughNV (5250) decoration in accordance with https://www.khronos.org/registry/spir-v/specs/1.0/SPIRV.pdf which is seen as invalid.The validation layers use the
spvValidate
function that produces the error message.The text was updated successfully, but these errors were encountered: