Home
last modified time | relevance | path

Searched refs:EvqConst (Results 1 – 25 of 54) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNode_util.cpp51 constType.setQualifier(EvqConst); in CreateZeroNode()
121 TType type(EbtFloat, precision, EvqConst, 1); in CreateFloatNode()
130 TType type(EbtInt, EbpHigh, EvqConst, 1); in CreateIndexNode()
139 TType type(EbtUInt, EbpHigh, EvqConst, 1); in CreateUIntNode()
148 TType type(EbtBool, EbpUndefined, EvqConst, 1); in CreateBoolNode()
176 tempVariable->getType().getQualifier() == EvqConst || in CreateTempSymbolNode()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNode_util.cpp51 constType.setQualifier(EvqConst); in CreateZeroNode()
121 TType type(EbtFloat, EbpUndefined, EvqConst, 1); in CreateFloatNode()
130 TType type(EbtInt, EbpUndefined, EvqConst, 1); in CreateIndexNode()
139 TType type(EbtBool, EbpUndefined, EvqConst, 1); in CreateBoolNode()
167 tempVariable->getType().getQualifier() == EvqConst || in CreateTempSymbolNode()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DClampFragDepth.cpp33 TIntermTyped *minFragDepthNode = CreateZeroNode(TType(EbtFloat, EbpHigh, EvqConst)); in ClampFragDepth()
38 new TIntermConstantUnion(maxFragDepthConstant, TType(EbtFloat, EbpHigh, EvqConst)); in ClampFragDepth()
DDeferGlobalInitializers.cpp55 if (expression->getQualifier() != EvqConst || !expression->hasConstantValue()) in GetDeferredInitializers()
66 ASSERT(symbolNode->getQualifier() == EvqConst || in GetDeferredInitializers()
68 if (symbolNode->getQualifier() == EvqConst) in GetDeferredInitializers()
DDeclareAndInitBuiltinsForInstancedMultiview.cpp44 new TIntermConstantUnion(numberOfViewsUnsignedConstant, TType(EbtUInt, EbpHigh, EvqConst)); in InitializeViewIDAndInstanceID()
113 CreateZeroNode(TType(EbtInt, EbpHigh, EvqConst))); in SelectViewIndexInVertexShader()
DClampPointSize.cpp33 new TIntermConstantUnion(maxPointSizeConstant, TType(EbtFloat, EbpHigh, EvqConst)); in ClampPointSize()
DRewriteAtomicCounters.cpp56 constantType->setQualifier(EvqConst); in CreateUIntConstant()
404 mAtomicCounterTypeConst->setQualifier(EvqConst); in declareAtomicCounterType()
420 paramType->getQualifier() == EvqConst ? mAtomicCounterTypeConst : mAtomicCounterType; in convertFunctionParameter()
DRewriteUnaryMinusOperatorInt.cpp90 new TIntermConstantUnion(one, TType(opr->getBasicType(), opr->getPrecision(), EvqConst)); in visitUnary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DDeferGlobalInitializers.cpp57 if (expression->getQualifier() != EvqConst || !expression->hasConstantValue() || in GetDeferredInitializers()
69 ASSERT(symbolNode->getQualifier() == EvqConst || in GetDeferredInitializers()
71 if (symbolNode->getQualifier() == EvqConst) in GetDeferredInitializers()
DDeclareAndInitBuiltinsForInstancedMultiview.cpp45 new TIntermConstantUnion(numberOfViewsUnsignedConstant, TType(EbtUInt, EbpLow, EvqConst)); in InitializeViewIDAndInstanceID()
114 CreateZeroNode(TType(EbtInt, EbpHigh, EvqConst))); in SelectViewIndexInVertexShader()
DClampPointSize.cpp37 new TIntermConstantUnion(maxPointSizeConstant, TType(EbtFloat, EbpHigh, EvqConst)); in ClampPointSize()
DRecordConstantPrecision.cpp105 TVariable *variable = DeclareTempVariable(mSymbolTable, node, EvqConst, &variableDeclaration); in visitConstantUnion()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/
DClampFragDepth.cpp33 TIntermTyped *minFragDepthNode = CreateZeroNode(TType(EbtFloat, EbpHigh, EvqConst)); in ClampFragDepth()
38 new TIntermConstantUnion(maxFragDepthConstant, TType(EbtFloat, EbpHigh, EvqConst)); in ClampFragDepth()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DValidateGlobalInitializer.cpp46 case EvqConst: in visitSymbol()
74 case EvqConst: in visitConstantUnion()
DIntermNode.cpp579 mType.setQualifier(EvqConst); in setPrecisionAndQualifier()
589 if (typedArg && typedArg->getQualifier() != EvqConst) in areChildrenConstQualified()
831 if (getQualifier() == EvqConst) in hasSideEffects()
1210 setType(TType(EbtInt, EbpUndefined, EvqConst)); in promote()
1215 if (mOperand->getQualifier() == EvqConst) in promote()
1216 resultQualifier = EvqConst; in promote()
1389 if (cond->getQualifier() == EvqConst && trueExpression->getQualifier() == EvqConst && in DetermineQualifier()
1390 falseExpression->getQualifier() == EvqConst) in DetermineQualifier()
1392 return EvqConst; in DetermineQualifier()
1416 if (mOperand->getQualifier() == EvqConst) in promote()
[all …]
DParseContext.cpp517 case EvqConst: in checkCanBeLValue()
647 if (node->getQualifier() != EvqConst) in checkIsConst()
986 if (expr->getQualifier() != EvqConst || constant == nullptr || !constant->isScalarInt()) in checkIsValidArraySize()
1037 (elementQualifier.qualifier == EvqConst && mShaderVersion < 300)) in checkIsValidQualifierForArray()
1100 if (type->getQualifier() == EvqConst) in checkCanBeDeclaredWithoutInitializer()
1450 publicType.qualifier != EvqConst) && in nonEmptyDeclarationErrorCheck()
1838 constantUnion, TType(constantUnion->getType(), EbpUndefined, EvqConst)); in addScalarLiteral()
1891 TIntermTyped *node = CreateZeroNode(TType(EbtFloat, EbpHigh, EvqConst)); in parseVariableIdentifier()
1919 type.setQualifier(EvqConst); in parseVariableIdentifier()
1963 if (qualifier == EvqConst) in executeInitializer()
[all …]
DQualifierTypes.cpp329 case EvqConst: in JoinVariableStorageQualifier()
408 case EvqConst: in JoinParameterStorageQualifier()
576 case EvqConst: in GetParameterTypeQualifierFromSortedSequence()
DValidateLimitations.cpp58 mValid = (symbol->getQualifier() == EvqConst) || isLoopSymbol; in visitSymbol()
400 return node->getAsConstantUnion() != nullptr && node->getAsTyped()->getQualifier() == EvqConst; in isConstExpr()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DValidateGlobalInitializer.cpp64 case EvqConst: in visitSymbol()
86 case EvqConst: in visitConstantUnion()
DTranslatorMetal.cpp243 boolType->setQualifier(EvqConst); in insertSampleMaskWritingLogic()
293 boolType->setQualifier(EvqConst); in insertRasterizerDiscardLogic()
DIntermNode.cpp648 mType.setQualifier(EvqConst); in setPrecisionAndQualifier()
660 if (typedArg && typedArg->getQualifier() != EvqConst) in areChildrenConstQualified()
958 if (getQualifier() == EvqConst) in hasSideEffects()
1360 setType(TType(EbtInt, EbpHigh, EvqConst)); in promote()
1365 if (mOperand->getQualifier() == EvqConst) in promote()
1366 resultQualifier = EvqConst; in promote()
1649 if (cond->getQualifier() == EvqConst && trueExpression->getQualifier() == EvqConst && in DetermineQualifier()
1650 falseExpression->getQualifier() == EvqConst) in DetermineQualifier()
1652 return EvqConst; in DetermineQualifier()
1690 if (mOperand->getQualifier() == EvqConst) in promote()
[all …]
DParseContext.cpp551 case EvqConst: in checkCanBeLValue()
709 if (node->getQualifier() != EvqConst) in checkIsConst()
1048 if (expr->getQualifier() != EvqConst || constant == nullptr || !constant->isScalarInt()) in checkIsValidArraySize()
1102 (elementQualifier.qualifier == EvqConst && mShaderVersion < 300)) in checkIsValidQualifierForArray()
1197 if (type->getQualifier() == EvqConst) in checkCanBeDeclaredWithoutInitializer()
1669 publicType.qualifier != EvqConst) && in nonEmptyDeclarationErrorCheck()
2151 constantUnion, TType(constantUnion->getType(), EbpUndefined, EvqConst)); in addScalarLiteral()
2215 TIntermTyped *node = CreateZeroNode(TType(EbtFloat, EbpHigh, EvqConst)); in parseVariableIdentifier()
2243 type.setQualifier(EvqConst); in parseVariableIdentifier()
2302 if (qualifier == EvqConst) in executeInitializer()
[all …]
/third_party/glslang/glslang/Include/
DBaseTypes.h88EvqConst, // User-defined constant values, will be semantically constant and constant fold… enumerator
322 case EvqConst: return "const"; break; in GetStorageQualifierString()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DHoistConstants.cpp38 if (type.getQualifier() == TQualifier::EvqConst) in visitDeclarationPre()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRewriteUnaryMinusOperatorInt.cpp95 oneType->setQualifier(EvqConst); in visitUnary()

123