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
Clarify how are the output or input variables variables matched when the variable declaration contains possibly anonymous struct.
The type of vertex outputs and fragment inputs with the same name must match, otherwise the link
command will fail. The precision does not need to match. Only those fragment inputs statically used (i.e.
read) in the fragment shader must be declared as outputs in the vertex shader; declaring superfluous vertex
shader outputs is permissible.
Clarify how are the output or input variables variables matched when the variable declaration contains possibly anonymous struct.
https://registry.khronos.org/OpenGL/specs/es/3.0/GLSL_ES_Specification_3.00.pdf
Two unnamed structs
Two named structs with the same name
One unnamed struct and one named struct
Two named structs with different struct names
Anonymous struct matched to two distinct anonymous structs at the other side
The text was updated successfully, but these errors were encountered: