Bugzilla – Bug 84
newparam different in Profile_gles2 to other profiles
Last modified: 2008-09-05 16:50:49 PDT
In Profile_GLES2, newparam is defined as: <xs:element name="newparam" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:complexContent> <xs:extension base="gles2_newparam_type"/> </xs:complexContent> </xs:complexType> </xs:element> but in other profiles, defined as such: <xs:element name="newparam" type="glsl_newparam_type" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="newparam" type="gles_newparam_type" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="newparam" type="cg_newparam_type" minOccurs="0" maxOccurs="unbounded"/> This can result in different code with auto-generated code.
It looks like there is no reason for the GLES2 profile to be different. It's not really extending the type in the final schema (although it may been in some earlier draft). Thanks for spotting this cruft Dan.