Flesh out 4.x block redeclaration semantics:

- hide non-redeclared anonymous members
 - array size limit checking
 - illegal member qualifiers
 - additional members


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24406 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-12-09 00:37:46 +00:00
parent e1b2e39a56
commit c719481d43
16 changed files with 229 additions and 127 deletions

View file

@ -828,9 +828,11 @@ public:
if (structure) {
s.append("{");
for (size_t i = 0; i < structure->size(); ++i) {
s.append((*structure)[i].type->getFieldName());
if (i < structure->size()-1)
s.append(",");
if ((*structure)[i].type->getBasicType() != EbtVoid) {
s.append((*structure)[i].type->getFieldName());
if (i < structure->size() - 1)
s.append(",");
}
}
s.append("}");
}

View file

@ -9,5 +9,5 @@
// source have to figure out how to create revision.h just to get a build
// going. However, if it is not updated, it can be a version behind.
#define GLSLANG_REVISION "24397"
#define GLSLANG_DATE "2013/12/06 16:57:42"
#define GLSLANG_REVISION "24400"
#define GLSLANG_DATE "2013/12/06 17:28:07"