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
The remaining variables listed by OpEntryPoint with the Input or Output storage class form the user-defined variable interface. By default such variables have a type with a width of 32 or 64. If an implementation supports storageInputOutput16KHX, user-defined variables in the Input and Output storage classes can also have types with a width of 16. These variables must be identified with a Location decoration and can also be identified with a Component decoration.
So it's invalid to have a user-defined interface variable that does not have a location specifier. When building shaders for Vulkan, GLSLang should throw an error whenever a location specifier isn't provided. Perhaps we also need something added to the vulkan GLSL extension spec?