This repository was archived by the owner on Jul 19, 2018. It is now read-only.

Description
I get the warning
Object: VK_NULL_HANDLE (Type = 0) | SPIR-V module not valid: Invalid decoration operand: 5250
during the call to vkCreateShaderModule when I use a geometry shader with
#extension GL_NV_geometry_shader_passthrough : enable
and I have the extension VK_NV_geometry_shader_passthrough enabled. The compiled shader then 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.
Everything works fine, but the warning shouldn't be there, since I do everything according to the specification.
I'm not sure if I should report this here or at https://github.com/KhronosGroup/SPIRV-Tools since the spvValidate function from there is producing the actual error message. Let me know if I should rather open an issue at SPIRV-Tools.