/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Symbol.cpp | 37 SymbolType symbolType, in TSymbol() argument 44 mSymbolType(symbolType), 54 SymbolType symbolType, in TSymbol() argument 60 mSymbolType(symbolType), in TSymbol() 99 SymbolType symbolType, in TVariable() argument 101 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extension), in TVariable() 106 ASSERT(name.empty() || symbolType != SymbolType::Empty); in TVariable() 112 SymbolType symbolType, in TVariable() argument 114 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extensions), in TVariable() 119 ASSERT(name.empty() || symbolType != SymbolType::Empty); in TVariable() [all …]
|
D | Symbol.h | 30 SymbolType symbolType, 36 SymbolType symbolType, 56 SymbolType symbolType() const { return mSymbolType; } in symbolType() function 84 SymbolType symbolType, in TSymbol() argument 90 mSymbolType(symbolType), in TSymbol() 116 SymbolType symbolType, 122 SymbolType symbolType, 134 SymbolType symbolType, in TVariable() argument 139 symbolType, in TVariable() 149 SymbolType symbolType, in TVariable() argument [all …]
|
D | UtilsHLSL.cpp | 41 ASSERT(paramType.getStruct()->symbolType() != SymbolType::Empty); in DisambiguateFunctionNameForParameterType() 829 if (structure.symbolType() != SymbolType::BuiltIn) in DecorateField() 854 if (variable.symbolType() == SymbolType::AngleInternal || in DecorateVariableIfNeeded() 855 variable.symbolType() == SymbolType::BuiltIn || variable.symbolType() == SymbolType::Empty) in DecorateVariableIfNeeded() 866 else if (variable.symbolType() == SymbolType::UserDefined && in DecorateVariableIfNeeded() 879 if (func->symbolType() == SymbolType::AngleInternal) in DecorateFunctionIfNeeded() 898 if (structure->symbolType() != SymbolType::Empty) in TypeString() 996 if (structure.symbolType() == SymbolType::Empty) in StructNameString() 1016 if (structure.symbolType() == SymbolType::Empty) in QualifiedStructNameString()
|
D | HashNames.cpp | 87 if (symbol->symbolType() == SymbolType::Empty) in HashName() 91 if (symbol->symbolType() == SymbolType::AngleInternal || in HashName() 92 symbol->symbolType() == SymbolType::BuiltIn) in HashName()
|
D | ValidateTypeSizeLimitations.cpp | 60 if (variable.symbolType() == SymbolType::AngleInternal) in visitDeclaration() 117 if (structure->symbolType() != SymbolType::Empty) in setFieldOrVariableProperties() 137 if (interfaceBlock->symbolType() != SymbolType::Empty) in setFieldOrVariableProperties() 191 const bool isNamed = variable.symbolType() != SymbolType::Empty; in setCommonVariableProperties()
|
D | BuiltinsWorkaroundGLSL.cpp | 45 if (node->variable().symbolType() == SymbolType::BuiltIn) in visitSymbol() 82 if (variable && variable->variable().symbolType() == SymbolType::BuiltIn) in visitDeclaration()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Symbol.cpp | 36 SymbolType symbolType, in TSymbol() argument 41 mSymbolType(symbolType), in TSymbol() 81 SymbolType symbolType, in TVariable() argument 83 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extension), in TVariable() 88 ASSERT(name.empty() || symbolType != SymbolType::Empty); in TVariable() 94 SymbolType symbolType) in TStructure() argument 95 : TSymbol(symbolTable, name, symbolType, SymbolClass::Struct), TFieldListCollection(fields) in TStructure() 138 SymbolType symbolType, in TInterfaceBlock() argument 140 : TSymbol(symbolTable, name, symbolType, SymbolClass::InterfaceBlock, extension), in TInterfaceBlock() 160 SymbolType symbolType, in TFunction() argument [all …]
|
D | Symbol.h | 30 SymbolType symbolType, 50 SymbolType symbolType() const { return mSymbolType; } in symbolType() function 56 SymbolType symbolType, in TSymbol() argument 61 mSymbolType(symbolType), in TSymbol() 86 SymbolType symbolType, 98 SymbolType symbolType, in TVariable() argument 101 : TSymbol(id, name, symbolType, extension, SymbolClass::Variable), in TVariable() 118 SymbolType symbolType); 156 SymbolType symbolType, 203 SymbolType symbolType, [all …]
|
D | UtilsHLSL.cpp | 39 ASSERT(paramType.getStruct()->symbolType() != SymbolType::Empty); in DisambiguateFunctionNameForParameterType() 826 if (structure.symbolType() != SymbolType::BuiltIn) in DecorateField() 851 if (variable.symbolType() == SymbolType::AngleInternal || in DecorateVariableIfNeeded() 852 variable.symbolType() == SymbolType::Empty) in DecorateVariableIfNeeded() 863 else if (variable.symbolType() == SymbolType::UserDefined && in DecorateVariableIfNeeded() 876 if (func->symbolType() == SymbolType::AngleInternal) in DecorateFunctionIfNeeded() 895 if (structure->symbolType() != SymbolType::Empty) in TypeString() 991 if (structure.symbolType() == SymbolType::Empty) in StructNameString() 1010 if (structure.symbolType() == SymbolType::Empty) in QualifiedStructNameString()
|
D | HashNames.cpp | 82 if (symbol->symbolType() == SymbolType::Empty) in HashName() 86 if (symbol->symbolType() == SymbolType::AngleInternal || in HashName() 87 symbol->symbolType() == SymbolType::BuiltIn) in HashName()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | Name.h | 29 explicit constexpr Name(ImmutableString rawName, SymbolType symbolType) in Name() argument 30 : mRawName(rawName), mSymbolType(symbolType) in Name() 32 ASSERT(rawName.empty() == (symbolType == SymbolType::Empty)); in Name() 35 explicit constexpr Name(const char *rawName, SymbolType symbolType = SymbolType::AngleInternal) 36 : Name(ImmutableString(rawName), symbolType) in Name() argument 39 explicit Name(const std::string &rawName, SymbolType symbolType) in Name() argument 40 : Name(ImmutableString(rawName), symbolType) in Name() 52 constexpr SymbolType symbolType() const { return mSymbolType; } in symbolType() function
|
D | ReduceInterfaceBlocks.cpp | 44 const SymbolType symbolType = var.symbolType(); in visitDeclarationPre() local 47 if (symbolType == SymbolType::Empty) in visitDeclarationPre() 52 &interfaceBlock->fields(), interfaceBlock->symbolType()); in visitDeclarationPre() 71 &interfaceBlock->fields(), interfaceBlock->symbolType()); in visitDeclarationPre()
|
D | SeparateCompoundStructDeclarations.cpp | 36 const SymbolType symbolType = var.symbolType(); in visitDeclaration() local 37 if (type.isStructSpecifier() && symbolType != SymbolType::Empty) in visitDeclaration() 43 if (structure->symbolType() == SymbolType::Empty) in visitDeclaration() 64 new TVariable(mSymbolTable, var.name(), instanceType, symbolType, var.extensions()); in visitDeclaration()
|
D | AstHelpers.cpp | 59 TVariable *var = new TVariable(&symbolTable, name.rawName(), type, name.symbolType()); in CreateInstanceVariable() 103 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined); in CloneFunction() 108 *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunction() 122 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined || in CloneFunctionAndPrependParam() 123 oldFunc.symbolType() == SymbolType::AngleInternal); in CloneFunctionAndPrependParam() 128 *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunctionAndPrependParam() 143 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined || in CloneFunctionAndAppendParams() 144 oldFunc.symbolType() == SymbolType::AngleInternal); in CloneFunctionAndAppendParams() 149 *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunctionAndAppendParams() 167 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined); in CloneFunctionAndChangeReturnType() [all …]
|
D | NameEmbeddedUniformStructsMetal.cpp | 47 if (structure->symbolType() == SymbolType::Empty) in visitDeclaration() 86 if (asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty) in doReplacement() 93 asSymbol->variable().symbolType()); in doReplacement()
|
D | Name.cpp | 18 if (object.symbolType() == SymbolType::Empty) in GetName() 25 Name::Name(const TField &field) : Name(GetName(field), field.symbolType()) {} in Name() 27 Name::Name(const TSymbol &symbol) : Name(GetName(symbol), symbol.symbolType()) {} in Name()
|
D | SymbolEnv.cpp | 54 if (var.symbolType() == SymbolType::Empty && type.isStructSpecifier()) in visitDeclarationPre() 266 return Name(name, baseName.symbolType()); in fullName() 321 func = new TFunction(&mSymbolTable, name.rawName(), name.symbolType(), &returnType, false); in getFunctionOverloadImpl() 377 ASSERT(name.symbolType() == SymbolType::AngleInternal); in newStructure() 381 s = new TStructure(&mSymbolTable, name.rawName(), &fields, name.symbolType()); in newStructure()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | NameEmbeddedUniformStructs.cpp | 45 if (structure->symbolType() == SymbolType::Empty) in visitDeclaration() 76 if (asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty) in doReplacement() 83 asSymbol->variable().symbolType()); in doReplacement()
|
D | DeferGlobalInitializers.cpp | 87 if (symbolNode->variable().symbolType() == SymbolType::AngleInternal || in GetDeferredInitializers() 88 symbolNode->variable().symbolType() == SymbolType::Empty) in GetDeferredInitializers() 162 new TVariable(symbolTable, var->name(), replacementType, var->symbolType()); in DeferGlobalInitializers()
|
D | RegenerateStructNames.cpp | 28 if (userType->symbolType() == SymbolType::BuiltIn || in visitSymbol() 29 userType->symbolType() == SymbolType::Empty) in visitSymbol()
|
D | RewriteStructSamplers.cpp | 45 new TVariable(oldVariable.uniqueId(), oldVariable.name(), oldVariable.symbolType(), in ReplaceTypeOfSymbolNode() 129 ASSERT(variable.symbolType() != SymbolType::Empty); in visitDeclaration() 302 new TField(newType, field->name(), field->line(), field->symbolType()); in stripStructSpecifierSamplers() 315 new TStructure(mSymbolTable, structure->name(), newFieldList, structure->symbolType()); in stripStructSpecifierSamplers() 590 new TFunction(mSymbolTable, function->name(), function->symbolType(), in traverse() 609 new TVariable(mSymbolTable, param->name(), structType, param->symbolType()); in visitStructParam()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | SeparateDeclarations.cpp | 104 if (!isStructSpecifier || (index == 0 && structure->symbolType() != SymbolType::Empty)) in separateDeclarator() 118 if (structure->symbolType() == SymbolType::Empty) in separateDeclarator() 170 ASSERT(asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty); in separateDeclarator() 177 asSymbol->variable().symbolType()); in separateDeclarator()
|
D | SeparateStructFromUniformDeclarations.cpp | 63 if (structure->symbolType() == SymbolType::Empty) in doReplacement() 83 ASSERT(asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty); in doReplacement() 91 asSymbol->variable().symbolType()); in doReplacement()
|
D | DeferGlobalInitializers.cpp | 90 if (symbolNode->variable().symbolType() == SymbolType::AngleInternal || in GetDeferredInitializers() 91 symbolNode->variable().symbolType() == SymbolType::Empty) in GetDeferredInitializers() 170 new TVariable(symbolTable, var->name(), replacementType, var->symbolType()); in DeferGlobalInitializers()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/ |
D | RegenerateStructNames.cpp | 53 if (userType->symbolType() == SymbolType::BuiltIn || in visitSymbol() 54 userType->symbolType() == SymbolType::Empty) in visitSymbol()
|