/external/deqp/framework/opengl/ |
D | gluVarType.hpp | 304 …DeclareStructType (const StructType& structType_, int indentLevel_) : structType(structType_), ind… in DeclareStructType() 306 StructType structType; member 328 …tType declare (const StructType& structType, int indentLevel = 0) { return decl::DeclareStr… in declare() argument
|
D | gluVarType.cpp | 426 return str << declare(&decl.structType, decl.indentLevel); in operator <<()
|
/external/deqp/modules/gles2/functional/ |
D | es2fUniformApiTests.cpp | 163 const StructType& structType = *type.getStructPtr(); in typeContainsMatchingBasicType() local 164 for (int i = 0; i < structType.getNumMembers(); i++) in typeContainsMatchingBasicType() 165 if (typeContainsMatchingBasicType(structType.getMember(i).getType(), predicate)) in typeContainsMatchingBasicType() 184 const StructType& structType = *type.getStructPtr(); in getDistinctSamplerTypes() local 185 for (int i = 0; i < structType.getNumMembers(); i++) in getDistinctSamplerTypes() 186 getDistinctSamplerTypes(dst, structType.getMember(i).getType()); in getDistinctSamplerTypes() 199 const StructType& structType = *type.getStructPtr(); in getNumSamplersInType() local 201 for (int i = 0; i < structType.getNumMembers(); i++) in getNumSamplersInType() 202 sum += getNumSamplersInType(structType.getMember(i).getType()); in getNumSamplersInType() 215 …StructType* const structType = new StructType(("structType" + de::toString(curStructIdx++)).c_str(… in generateRandomType() local [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramUniformTests.cpp | 227 const StructType& structType = *type.getStructPtr(); in typeContainsMatchingBasicType() local 228 for (int i = 0; i < structType.getNumMembers(); i++) in typeContainsMatchingBasicType() 229 if (typeContainsMatchingBasicType(structType.getMember(i).getType(), predicate)) in typeContainsMatchingBasicType() 248 const StructType& structType = *type.getStructPtr(); in getDistinctSamplerTypes() local 249 for (int i = 0; i < structType.getNumMembers(); i++) in getDistinctSamplerTypes() 250 getDistinctSamplerTypes(dst, structType.getMember(i).getType()); in getDistinctSamplerTypes() 263 const StructType& structType = *type.getStructPtr(); in getNumSamplersInType() local 265 for (int i = 0; i < structType.getNumMembers(); i++) in getNumSamplersInType() 266 sum += getNumSamplersInType(structType.getMember(i).getType()); in getNumSamplersInType() 397 StructType* const structType = new StructType((string("structType") + nameSuffix).c_str()); in basicStruct() local [all …]
|
D | es31fUniformLocationTests.cpp | 305 const glu::StructType* const structType = uniformInfo.type.getStructPtr(); in genShaderSources() local 306 if (!declaredStructs.count(structType)) in genShaderSources() 309 vertDecl << glu::declare(structType, 0) << ";\n"; in genShaderSources() 312 fragDecl << glu::declare(structType, 0) << ";\n"; in genShaderSources() 314 declaredStructs.insert(structType); in genShaderSources()
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 181 const glu::StructType* structType = type.getStructPtr(); in generateVariableTypeResourceNames() local 182 for (int ndx = 0; ndx < structType->getNumMembers(); ++ndx) in generateVariableTypeResourceNames() 183 …teVariableTypeResourceNames(resources, name + "." + structType->getMember(ndx).getName(), structTy… in generateVariableTypeResourceNames()
|
D | es31fTessellationTests.cpp | 223 const glu::StructType& structType = *type.getStructPtr(); in numBasicSubobjects() local 225 for (int i = 0; i < structType.getNumMembers(); i++) in numBasicSubobjects() 226 result += numBasicSubobjects(structType.getMember(i).getType()); in numBasicSubobjects() 5670 const glu::StructType& structType = *rootType.getStructPtr(); in glslTraverseBasicTypes() local 5671 const int numMembers = structType.getNumMembers(); in glslTraverseBasicTypes() 5676 const glu::StructMember& member = structType.getMember(membNdx); in glslTraverseBasicTypes() 5931 glu::StructType& structType = m_structTypes.back(); in init() local 5932 const glu::VarType structVarType (&structType); in init() 5935 structType.addMember("x", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP)); in init() 5936 structType.addMember("y", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP)); in init() [all …]
|
D | es31fSSBOLayoutTests.cpp | 236 …glu::StructType& structType = m_interface.allocStruct((string("s") + genName('A', 'Z', m_structNdx… in generateType() local 242 structType.addMember((string("m") + (char)('A' + ndx)).c_str(), memberTypes[ndx]); in generateType() 245 return glu::VarType(&structType); in generateType()
|
/external/deqp/modules/gles3/functional/ |
D | es3fUniformApiTests.cpp | 223 const StructType& structType = *type.getStructPtr(); in typeContainsMatchingBasicType() local 224 for (int i = 0; i < structType.getNumMembers(); i++) in typeContainsMatchingBasicType() 225 if (typeContainsMatchingBasicType(structType.getMember(i).getType(), predicate)) in typeContainsMatchingBasicType() 244 const StructType& structType = *type.getStructPtr(); in getDistinctSamplerTypes() local 245 for (int i = 0; i < structType.getNumMembers(); i++) in getDistinctSamplerTypes() 246 getDistinctSamplerTypes(dst, structType.getMember(i).getType()); in getDistinctSamplerTypes() 259 const StructType& structType = *type.getStructPtr(); in getNumSamplersInType() local 261 for (int i = 0; i < structType.getNumMembers(); i++) in getNumSamplersInType() 262 sum += getNumSamplersInType(structType.getMember(i).getType()); in getNumSamplersInType() 275 …StructType* const structType = new StructType(("structType" + de::toString(curStructIdx++)).c_str(… in generateRandomType() local [all …]
|
/external/deqp/modules/glshared/ |
D | glsRandomUniformBlockCase.cpp | 173 …StructType& structType = m_interface.allocStruct((string("s") + genName('A', 'Z', m_structNdx)).c_… in generateType() local 184 structType.addMember((string("m") + (char)('A' + ndx)).c_str(), memberTypes[ndx], flags); in generateType() 187 return VarType(&structType); in generateType()
|
D | glsUniformBlockCase.cpp | 814 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel… 816 void generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLe… 817 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLe… 819 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument 821 DE_ASSERT(structType.getTypeName() != DE_NULL); in generateDeclaration() 822 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration() 826 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLeve… in generateFullDeclaration() argument 829 if (structType.getTypeName()) in generateFullDeclaration() 830 src << " " << structType.getTypeName(); in generateFullDeclaration() 833 …for (StructType::ConstIterator memberIter = structType.begin(); memberIter != structType.end(); me… in generateFullDeclaration() [all …]
|