Home
last modified time | relevance | path

Searched refs:varInfo (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/angle/src/compiler/
DVariableInfo.cpp114 TVariableInfo varInfo; in getBuiltInVariableInfo() local
116 varInfo.name = (name + "[0]").c_str(); in getBuiltInVariableInfo()
117 varInfo.mappedName = (mappedName + "[0]").c_str(); in getBuiltInVariableInfo()
118 varInfo.size = type.getArraySize(); in getBuiltInVariableInfo()
120 varInfo.name = name.c_str(); in getBuiltInVariableInfo()
121 varInfo.mappedName = mappedName.c_str(); in getBuiltInVariableInfo()
122 varInfo.size = 1; in getBuiltInVariableInfo()
124 varInfo.precision = type.getPrecision(); in getBuiltInVariableInfo()
125 varInfo.type = getVariableDataType(type); in getBuiltInVariableInfo()
126 infoList.push_back(varInfo); in getBuiltInVariableInfo()
DShaderLang.cpp274 const TVariableInfo& varInfo = varList[index]; in ShGetVariableInfo() local
275 if (length) *length = varInfo.name.size(); in ShGetVariableInfo()
276 *size = varInfo.size; in ShGetVariableInfo()
277 *type = varInfo.type; in ShGetVariableInfo()
278 switch (varInfo.precision) { in ShGetVariableInfo()
293 *staticUse = varInfo.staticUse ? 1 : 0; in ShGetVariableInfo()
300 strncpy(name, varInfo.name.c_str(), variableLength); in ShGetVariableInfo()
307 strncpy(mappedName, varInfo.mappedName.c_str(), maxMappedNameLength); in ShGetVariableInfo()