Comment #4 on issue 8613 by kkinn...@
apple.com: GL: Anonymous varying structs cannot be declared together
https://bugs.chromium.org/p/angleproject/issues/detail?id=8613#c4There are two problems:
p1: Some of the rewrite phases inspect the symbol table for the variable names. IIRC this was at least the case for output variables phase.
This is obviously incorrect, as the symbol table is not updated during previous rewrite steps. Thus the symbol table will contain variables with wrong structure information, structures of which the declarations do not exist in the tree anymore.
p2: Separated anonymous output stucts do not get unique name.
https://github.com/KhronosGroup/WebGL/issues/3656