Commit b1165f49 by Lei Zhang

Reorder fields to avoid compiler initialization order error.

parent 51e74b17
...@@ -1717,13 +1717,13 @@ protected: ...@@ -1717,13 +1717,13 @@ protected:
// functionality is added. // functionality is added.
// HLSL does have a 1-component vectors, so this will be true to disambiguate // HLSL does have a 1-component vectors, so this will be true to disambiguate
// from a scalar. // from a scalar.
TSampler sampler;
TQualifier qualifier; TQualifier qualifier;
TArraySizes* arraySizes; // nullptr unless an array; can be shared across types TArraySizes* arraySizes; // nullptr unless an array; can be shared across types
TTypeList* structure; // nullptr unless this is a struct; can be shared across types TTypeList* structure; // nullptr unless this is a struct; can be shared across types
TString *fieldName; // for structure field names TString *fieldName; // for structure field names
TString *typeName; // for structure type name TString *typeName; // for structure type name
TSampler sampler;
}; };
} // end namespace glslang } // end namespace glslang
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment