Lines Matching refs:structure
65 TString DecorateField(const TString &string, const TStructure &structure)
67 if (structure.name().compare(0, 3, "gl_") != 0)
92 const TStructure* structure = type.getStruct();
93 if (structure)
95 const TString& typeName = structure->name();
98 return StructNameString(*structure);
100 else // Nameless structure, define in place
102 return StructureHLSL::defineNameless(*structure);
171 TString StructNameString(const TStructure &structure)
173 if (structure.name().empty())
178 return "ss" + str(structure.uniqueId()) + "_" + structure.name();
181 TString QualifiedStructNameString(const TStructure &structure, bool useHLSLRowMajorPacking,
184 if (structure.name() == "")
204 return prefix + StructNameString(structure);