/external/skqp/src/sksl/ir/ |
D | SkSLInterfaceBlock.h | 51 const Type* structType = &fVariable.fType; in description() local 52 while (structType->kind() == Type::kArray_Kind) { in description() 53 structType = &structType->componentType(); in description() 55 for (const auto& f : structType->fields()) { in description()
|
/external/skia/src/sksl/ir/ |
D | SkSLInterfaceBlock.h | 51 const Type* structType = &fVariable.fType; in description() local 52 while (structType->kind() == Type::kArray_Kind) { in description() 53 structType = &structType->componentType(); in description() 55 for (const auto& f : structType->fields()) { in description()
|
/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/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationUserDefinedIO.cpp | 136 const glu::StructType& structType = *rootType.getStructPtr(); in glslTraverseBasicTypes() local 137 const int numMembers = structType.getNumMembers(); in glslTraverseBasicTypes() 142 const glu::StructMember& member = structType.getMember(membNdx); in glslTraverseBasicTypes() 230 const glu::StructType& structType = *type.getStructPtr(); in numBasicSubobjects() local 232 for (int i = 0; i < structType.getNumMembers(); ++i) in numBasicSubobjects() 233 result += numBasicSubobjects(structType.getMember(i).getType()); in numBasicSubobjects() 489 glu::StructType& structType = m_structTypes.back(); in UserDefinedIOTest() local 490 const glu::VarType structVarType (&structType); in UserDefinedIOTest() 493 structType.addMember("x", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP)); in UserDefinedIOTest() 494 structType.addMember("y", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP)); in UserDefinedIOTest() [all …]
|
/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 | 427 return str << declare(&decl.structType, decl.indentLevel); in operator <<()
|
/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 | es31fTessellationTests.cpp | 225 const glu::StructType& structType = *type.getStructPtr(); in numBasicSubobjects() local 227 for (int i = 0; i < structType.getNumMembers(); i++) in numBasicSubobjects() 228 result += numBasicSubobjects(structType.getMember(i).getType()); in numBasicSubobjects() 5730 const glu::StructType& structType = *rootType.getStructPtr(); in glslTraverseBasicTypes() local 5731 const int numMembers = structType.getNumMembers(); in glslTraverseBasicTypes() 5736 const glu::StructMember& member = structType.getMember(membNdx); in glslTraverseBasicTypes() 5991 glu::StructType& structType = m_structTypes.back(); in init() local 5992 const glu::VarType structVarType (&structType); in init() 5995 structType.addMember("x", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP)); in init() 5996 structType.addMember("y", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP)); in init() [all …]
|
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 | 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 …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 729 void generateDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel); 731 void generateLocalDeclaration(std::ostringstream& src, const StructType& structType, int indentLeve… 732 void generateFullDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel… 734 void generateDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument 736 DE_ASSERT(structType.getTypeName() != DE_NULL); in generateDeclaration() 737 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration() 741 void generateFullDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel) in generateFullDeclaration() argument 744 if (structType.getTypeName()) in generateFullDeclaration() 745 src << " " << structType.getTypeName(); in generateFullDeclaration() 748 …for (StructType::ConstIterator memberIter = structType.begin(); memberIter != structType.end(); me… in generateFullDeclaration() [all …]
|
D | glcUniformBlockTests.cpp | 221 …StructType& structType = m_interface.allocStruct((string("s") + genName('A', 'Z', m_structNdx)).c_… in generateType() local 232 structType.addMember((string("m") + (char)('A' + ndx)).c_str(), memberTypes[ndx], flags); in generateType() 235 return VarType(&structType); in generateType()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktRandomUniformBlockCase.cpp | 178 …StructType& structType = m_interface.allocStruct(std::string("s") + genName('A', 'Z', m_structNdx)… in generateType() local 189 structType.addMember(std::string("m") + (char)('A' + ndx), memberTypes[ndx], flags); in generateType() 192 return VarType(&structType, m_shuffleUniformMembers ? static_cast<deUint32>(LAYOUT_OFFSET) : 0u); in generateType()
|
D | vktUniformBlockCase.cpp | 994 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel… 996 void generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLe… 997 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLe… 999 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument 1001 DE_ASSERT(structType.hasTypeName()); in generateDeclaration() 1002 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration() 1006 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLeve… in generateFullDeclaration() argument 1009 if (structType.hasTypeName()) in generateFullDeclaration() 1010 src << " " << structType.getTypeName(); in generateFullDeclaration() 1013 …for (StructType::ConstIterator memberIter = structType.begin(); memberIter != structType.end(); me… in generateFullDeclaration() [all …]
|
/external/skqp/src/sksl/ |
D | SkSLMetalCodeGenerator.cpp | 841 const Type* structType = &intf.fVariable.fType; in writeInterfaceBlock() local 842 fWrittenStructs.push_back(structType); in writeInterfaceBlock() 843 while (Type::kArray_Kind == structType->kind()) { in writeInterfaceBlock() 844 structType = &structType->componentType(); in writeInterfaceBlock() 847 writeFields(structType->fields(), structType->fOffset, &intf); in writeInterfaceBlock()
|
D | SkSLGLSLCodeGenerator.cpp | 1144 const Type* structType = &intf.fVariable.fType; in writeFunctionCall() local 1145 while (structType->kind() == Type::kArray_Kind) { in writeFunctionCall() 1146 structType = &structType->componentType(); in writeFunctionCall() 1148 for (const auto& f : structType->fields()) { in writeFunctionCall()
|
/external/skia/src/sksl/ |
D | SkSLMetalCodeGenerator.cpp | 985 const Type* structType = &intf.fVariable.fType; in writeInterfaceBlock() local 986 fWrittenStructs.push_back(structType); in writeInterfaceBlock() 987 while (Type::kArray_Kind == structType->kind()) { in writeInterfaceBlock() 988 structType = &structType->componentType(); in writeInterfaceBlock() 991 writeFields(structType->fields(), structType->fOffset, &intf); in writeInterfaceBlock()
|
D | SkSLGLSLCodeGenerator.cpp | 1171 const Type* structType = &intf.fVariable.fType; in writeFunctionCall() local 1172 while (structType->kind() == Type::kArray_Kind) { in writeFunctionCall() 1173 structType = &structType->componentType(); in writeFunctionCall() 1175 for (const auto& f : structType->fields()) { in writeFunctionCall()
|
/external/swiftshader/src/Pipeline/ |
D | SpirvShader.cpp | 214 auto &structType = getType(pointeeType).definition; in ProcessInterfaceVariable() local 219 auto &memberType = getType(structType.word(word)); in ProcessInterfaceVariable()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutTests.cpp | 256 …glu::StructType& structType = m_interface.allocStruct((string("s") + genName('A', 'Z', m_structNdx… in generateType() local 262 structType.addMember((string("m") + (char)('A' + ndx)).c_str(), memberTypes[ndx]); in generateType() 265 return glu::VarType(&structType); in generateType()
|
/external/deqp-deps/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 163 …void updateMemberOffset(const glslang::TType& structType, const glslang::TType& memberType, int& c… 3606 void TGlslangToSpvTraverser::updateMemberOffset(const glslang::TType& structType, const glslang::TT… in updateMemberOffset() argument 3645 …! memberType.isArray() && memberType.isVector() && structType.getTypeName().compare("$Global") != … in updateMemberOffset()
|