Merge pull request #767 from jbrodman/nomosoa2

Fix bugs with exported varyings.
This commit is contained in:
Dmitry Babokin
2014-03-14 09:00:36 +03:00
3 changed files with 32 additions and 39 deletions

3
type.h
View File

@@ -714,7 +714,8 @@ public:
const SourcePos &GetElementPosition(int i) const { return elementPositions[i]; }
/** Returns the name of the structure type. (e.g. struct Foo -> "Foo".) */
const std::string &GetStructName() const { return name; }
const std::string &GetStructName() const { return name; }
const std::string GetCStructName() const;
private:
static bool checkIfCanBeSOA(const StructType *st);