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
In addition, all identifiers containing two consecutive underscores (__) are reserved for use by underlying software layers. Defining such a name in a shader does not itself result in an error, but may result in unintended behaviors that stem from having multiple definitions of the same name.
Implementations that transform GLSL to C++-like languages (e.g. Metal) likely use the user names somehow in their destination source. If they don't, they'd need to hash interface names.
Metal matches vertex outs to fragment ins with either struct member names or [[user(name)]].
The text was updated successfully, but these errors were encountered:
kkinnunen-apple
changed the title
Clarify double underscore in attributes, varyings
Clarify double underscore in varyings
Apr 24, 2024
consider case
Implementations that transform GLSL to C++-like languages (e.g. Metal) likely use the user names somehow in their destination source. If they don't, they'd need to hash interface names.
Metal matches vertex outs to fragment ins with either struct member names or
[[user(name)]]
.The text was updated successfully, but these errors were encountered: