![]() I believe Mesa implements the GLSL 1.30 rule in all GLSL versions.Ĭuriously, all versions of GLSL ES contain the GLSL 1.40 language. I could find nothing in the 1.40 spec to explain the change. I have no recollection why this change was made. Other variables, types, and functions, with the same scoping rules." ![]() It's worth noting that the GLSL 1.30 spec says: Types, constructors, or functions with that name are hidden.*"īased on this, the second TEXCOORD0 should "shadow" the first. ![]() ".where name becomes the user-defined type, and can be used to declare Section 4.1.8 (Structures) of the GLSL 1.40 and later specs say (emphasis mine):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |