Home
last modified time | relevance | path

Searched refs:EbtStruct (Results 1 – 25 of 43) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DTranslatorMetalUtils.cpp95 case EbtStruct: in getBasicMetalString()
292 ASSERT(t->getBasicType() != EbtStruct); in getBuiltInMetalTypeNameString()
299 if (type.getBasicType() == EbtStruct) in GetMetalTypeName()
DEmitMetal.cpp881 case TBasicType::EbtStruct: in emitBareTypeName()
1164 ASSERT(type.getBasicType() == TBasicType::EbtStruct); in emitUniformBufferDeclaration()
1176 ASSERT(type.getBasicType() == TBasicType::EbtStruct); in emitStructDeclaration()
1278 case TBasicType::EbtStruct: in emitVariableDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTypes.cpp101 case EbtStruct: in getBasicString()
205 : TType(EbtStruct, EbpUndefined, EvqTemporary, 1, 1) in TType()
266 case EbtStruct: in canBeConstructed()
384 ASSERT(getBasicType() != EbtStruct); in getBuiltInTypeNameString()
462 ASSERT(type == EbtStruct || type == EbtInterfaceBlock); in buildMangledName()
465 case EbtStruct: in buildMangledName()
502 if (getBasicType() == EbtStruct) in getObjectSize()
525 if (getBasicType() == EbtStruct) in getLocationCount()
DStructureHLSL.cpp130 if (type.getBasicType() == EbtStruct || type.isMatrix() || type.isArray()) in prePadding()
213 if (!type.isMatrix() && !type.isArray() && type.getBasicType() != EbtStruct) in postPaddingString()
318 if (fieldType->getBasicType() == EbtStruct) in defineVariants()
DFlagStd140Structs.cpp41 if (field->type()->getBasicType() == EbtStruct) in mapBlockStructMembers()
DTypes.h425 ASSERT(aType != EbtStruct); in initialize()
438 type = EbtStruct; in initializeStruct()
DOutputHLSL.cpp205 ASSERT(node->getBasicType() == EbtStruct); in needStructMapping()
517 else if (type.getBasicType() == EbtStruct) in structInitializerString()
1165 if (IsInStd140UniformBlock(node) && node->getBasicType() == EbtStruct && in visitSymbol()
1366 else if (type.getBasicType() == EbtStruct) in outputEqual()
1750 bool structInStd140UniformBlock = node->getBasicType() == EbtStruct && in visitBinary()
3321 if (node->getBasicType() == EbtStruct) in outputConstructor()
3652 ASSERT(type.getBasicType() == EbtStruct); in ensureStructDefined()
DParseContext.cpp45 if (type.getBasicType() == EbtStruct) in ContainsSampler()
788 if (type.getBasicType() != EbtStruct && IsOpaqueType(argTyped->getBasicType())) in checkConstructorArguments()
833 else if (type.getBasicType() == EbtStruct) in checkConstructorArguments()
872 if (argTyped->getBasicType() == EbtStruct) in checkConstructorArguments()
970 if (pType.type == EbtStruct) in checkIsNotOpaqueType()
1175 if (mShaderVersion >= 300 && elementType.getBasicType() == EbtStruct && in checkIsValidTypeAndQualifierForArray()
1641 if (publicType.getBasicType() == EbtStruct) in nonEmptyDeclarationErrorCheck()
2650 if (type.getBasicType() == EbtStruct) in checkInputOutputTypeIsValidES3()
2665 if (type.isStructureContainingType(EbtStruct)) in checkInputOutputTypeIsValidES3()
2928 if (type->getBasicType() == EbtStruct) in parseSingleDeclaration()
[all …]
DUtilsHLSL.cpp37 else if (paramType.getBasicType() == EbtStruct) in DisambiguateFunctionNameForParameterType()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp59 node->getLeft()->getBasicType() != EbtStruct; in IsDynamicIndexingOfVectorOrMatrix()
204 if (declarator->getBasicType() == EbtStruct && in match()
DIntermNode_util.cpp53 if (!type.isArray() && type.getBasicType() != EbtStruct) in CreateZeroNode()
104 ASSERT(type.getBasicType() == EbtStruct); in CreateZeroNode()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp643 if (pType.type == EbtStruct) { in samplerErrorCheck()
675 if(pType.type == EbtStruct) in structQualifierErrorCheck()
711 if(publicType.type == EbtStruct) in singleDeclarationErrorCheck()
778 type.getBasicType() != EbtStruct && IsSampler(type.getBasicType())) { in parameterSamplerErrorCheck()
791 if (type.getBasicType() == EbtStruct || type.isInterfaceBlock()) { in containsSampler()
882 if(mShaderVersion >= 300 && type.type == EbtStruct && IsVarying(type.qualifier)) in arrayTypeErrorCheck()
1414 if(type.type == EbtStruct) in checkInputOutputTypeIsValidES3()
1427 if(type.isStructureContainingType(EbtStruct)) in checkInputOutputTypeIsValidES3()
2405 else if(!fieldType->isMatrix() && (fieldType->getBasicType() != EbtStruct)) in addInterfaceBlock()
2676 else if(baseExpression->getBasicType() == EbtStruct) in addFieldSelectionExpression()
[all …]
DBaseTypes.h85 EbtStruct, enumerator
120 case EbtStruct: return "structure"; in getBasicString()
DIntermediate.cpp183 case EbtStruct: in TypeToConstructorOperator()
341 …if (left->isMatrix() || left->isArray() || left->isVector() || left->getBasicType() == EbtStruct) { in addBinaryMath()
363 if (left->getBasicType() == EbtStruct || left->getBasicType() == EbtBool) { in addBinaryMath()
369 …if (left->getBasicType() == EbtStruct || left->getBasicType() == EbtBool || left->getBasicType() =… in addBinaryMath()
1207 if (fields[j]->type()->getBasicType() == EbtStruct) { in CompareStruct()
1717 if(getType().getBasicType() == EbtStruct) { in fold()
1738 if(getType().getBasicType() == EbtStruct) { in fold()
DTypes.h259 type(EbtStruct), precision(p), qualifier(EvqTemporary), in type() argument
320 if(getBasicType() == EbtStruct) in getElementSize()
DSymbolTable.cpp79 case EbtStruct: mangledName += structure->mangledName(); break; in buildMangledName()
DConstantUnion.h77 case EbtStruct: // Struct fields don't get cast in cast()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRecordConstantPrecision.cpp51 if (operand->getBasicType() == EbtBool || operand->getBasicType() == EbtStruct) in operandAffectsParentOperationPrecision()
DInitializeVariables.cpp90 ASSERT(initializedNode->getBasicType() == EbtStruct); in AddStructZeroInitSequence()
162 (initializedNode->getBasicType() != EbtStruct && in AddArrayZeroInitSequence()
DPruneNoOps.cpp97 else if (declaratorSymbol->getBasicType() != EbtStruct) in visitDeclaration()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DType_test.cpp51 if (i == static_cast<int>(EbtStruct) || i == static_cast<int>(EbtInterfaceBlock)) in TEST()
/third_party/glslang/glslang/MachineIndependent/
DSymbolTable.cpp138 case EbtStruct: in buildMangledName()
140 if (basicType == EbtStruct) in buildMangledName()
DParseHelper.cpp3833 if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtSampler)) { in samplerCheck()
3870 if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAtomicUint)) in atomicUintCheck()
3881 if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAccStruct)) in accStructCheck()
4055 if (publicType.basicType == EbtStruct) { in globalQualifierTypeCheck()
4105 if (publicType.basicType == EbtStruct) { in globalQualifierTypeCheck()
4375 if (type.getBasicType() == EbtStruct) { in containsFieldWithBasicType()
5293 if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtFloat16)) in storage16BitAssignmentCheck()
5299 if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtInt16)) in storage16BitAssignmentCheck()
5305 if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtUint16)) in storage16BitAssignmentCheck()
5311 if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtInt8)) in storage16BitAssignmentCheck()
[all …]
/third_party/glslang/glslang/Include/
DBaseTypes.h63 EbtStruct, enumerator
DTypes.h1647 … } else if (type.basicType == EbtStruct || type.basicType == EbtBlock) {
1680 …basicType(EbtStruct), vectorSize(1), matrixCols(0), matrixRows(0), vector1(false), coopmatNV(false… in TType()
1834 virtual bool isStruct() const { return basicType == EbtStruct || basicType == EbtBlock; } in isStruct()
2093 case EbtStruct: return "structure"; in getBasicString()
2492 if (getBasicType() == EbtStruct || getBasicType() == EbtBlock) { in computeNumComponents()

12