Home
last modified time | relevance | path

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

12

/external/angle/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(EbtUInt, EbpUndefined, EvqConst, 1); in CreateUIntNode()
148 TType type(EbtBool, EbpUndefined, EvqConst, 1); in CreateBoolNode()
176 tempVariable->getType().getQualifier() == EvqConst || in CreateTempSymbolNode()
/external/angle/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()
DRecordConstantPrecision.cpp141 TVariable *variable = DeclareTempVariable(mSymbolTable, node, EvqConst, &variableDeclaration); in visitConstantUnion()
/external/angle/src/compiler/translator/tree_ops/
DDeferGlobalInitializers.cpp56 if (expression->getQualifier() != EvqConst || !expression->hasConstantValue()) in GetDeferredInitializers()
67 ASSERT(symbolNode->getQualifier() == EvqConst || in GetDeferredInitializers()
69 if (symbolNode->getQualifier() == EvqConst) in GetDeferredInitializers()
DDeclareAndInitBuiltinsForInstancedMultiview.cpp45 new TIntermConstantUnion(numberOfViewsUnsignedConstant, TType(EbtUInt, EbpHigh, EvqConst)); in InitializeViewIDAndInstanceID()
114 CreateZeroNode(TType(EbtInt, EbpHigh, EvqConst))); in SelectViewIndexInVertexShader()
DClampPointSize.cpp36 new TIntermConstantUnion(maxPointSizeConstant, TType(EbtFloat, EbpHigh, EvqConst)); in ClampPointSize()
DRemoveUnreferencedVariables.cpp241 if (qualifier != EvqTemporary && qualifier != EvqGlobal && qualifier != EvqConst) in visitDeclaration()
/external/angle/src/compiler/translator/
DValidateGlobalInitializer.cpp64 case EvqConst: in visitSymbol()
86 case EvqConst: in visitConstantUnion()
DIntermNode.cpp644 mType.setQualifier(EvqConst); in setPrecisionAndQualifier()
654 if (typedArg && typedArg->getQualifier() != EvqConst) in areChildrenConstQualified()
914 if (getQualifier() == EvqConst) in hasSideEffects()
1302 setType(TType(EbtInt, EbpUndefined, EvqConst)); in promote()
1307 if (mOperand->getQualifier() == EvqConst) in promote()
1308 resultQualifier = EvqConst; in promote()
1510 if (cond->getQualifier() == EvqConst && trueExpression->getQualifier() == EvqConst && in DetermineQualifier()
1511 falseExpression->getQualifier() == EvqConst) in DetermineQualifier()
1513 return EvqConst; in DetermineQualifier()
1537 if (mOperand->getQualifier() == EvqConst) in promote()
[all …]
DTranslatorMetal.cpp305 boolType->setQualifier(EvqConst); in insertSampleMaskWritingLogic()
355 boolType->setQualifier(EvqConst); in insertRasterizerDiscardLogic()
DQualifierTypes.cpp359 case EvqConst: in JoinVariableStorageQualifier()
510 case EvqConst: in JoinParameterStorageQualifier()
683 case EvqConst: in GetParameterTypeQualifierFromSortedSequence()
DParseContext.cpp553 case EvqConst: in checkCanBeLValue()
711 if (node->getQualifier() != EvqConst) in checkIsConst()
1050 if (expr->getQualifier() != EvqConst || constant == nullptr || !constant->isScalarInt()) in checkIsValidArraySize()
1104 (elementQualifier.qualifier == EvqConst && mShaderVersion < 300)) in checkIsValidQualifierForArray()
1199 if (type->getQualifier() == EvqConst) in checkCanBeDeclaredWithoutInitializer()
1653 publicType.qualifier != EvqConst) && in nonEmptyDeclarationErrorCheck()
2135 constantUnion, TType(constantUnion->getType(), EbpUndefined, EvqConst)); in addScalarLiteral()
2199 TIntermTyped *node = CreateZeroNode(TType(EbtFloat, EbpHigh, EvqConst)); in parseVariableIdentifier()
2227 type.setQualifier(EvqConst); in parseVariableIdentifier()
2270 if (qualifier == EvqConst) in executeInitializer()
[all …]
DValidateLimitations.cpp58 mValid = (symbol->getQualifier() == EvqConst) || isLoopSymbol; in visitSymbol()
410 return node->getAsConstantUnion() != nullptr && node->getAsTyped()->getQualifier() == EvqConst; in isConstExpr()
DBaseTypes.h992 EvqConst, // User defined constants and non-output parameters in functions enumerator
1456 case EvqConst: return "const"; in getQualifierString()
DSymbolTable_ESSL_autogen.cpp25474 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
25483 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
25492 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
25501 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
25510 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
25519 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
25528 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
25537 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
25546 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
25555 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
[all …]
/external/deqp-deps/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()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DBaseTypes.h92EvqConst, // User-defined constant values, will be semantically constant and constant fold… enumerator
329 case EvqConst: return "const"; break; in GetStorageQualifierString()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DHoistConstants.cpp38 if (type.getQualifier() == TQualifier::EvqConst) in visitDeclarationPre()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRewriteUnaryMinusOperatorInt.cpp95 new TIntermConstantUnion(one, TType(opr->getBasicType(), opr->getPrecision(), EvqConst)); in visitUnary()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp148 TType constBool(EbtBool, EvqConst); in fold()
175 …returnType.shallowCopy(TType(getType().getBasicType(), EvqConst, 0, rightNode->getMatrixCols(), ge… in fold()
273 returnType.shallowCopy(TType(getBasicType(), EvqConst, getMatrixRows())); in fold()
284 returnType.shallowCopy(TType(getBasicType(), EvqConst, rightNode->getMatrixCols())); in fold()
981 newNode->getWritableType().getQualifier().storage = EvqConst; in fold()
1329 newNode->getWritableType().getQualifier().storage = EvqConst; in fold()
1377 dereferencedType.getQualifier().storage = EvqConst; in foldDereference()
1423 result->setType(TType(node->getBasicType(), EvqConst, selectors.size())); in foldSwizzle()
DIntermediate.cpp2539 node->getQualifier().storage = EvqConst; in addConstantUnion()
2551 return addConstantUnion(unionArray, TType(EbtInt8, EvqConst), loc, literal); in addConstantUnion()
2559 return addConstantUnion(unionArray, TType(EbtUint8, EvqConst), loc, literal); in addConstantUnion()
2567 return addConstantUnion(unionArray, TType(EbtInt16, EvqConst), loc, literal); in addConstantUnion()
2575 return addConstantUnion(unionArray, TType(EbtUint16, EvqConst), loc, literal); in addConstantUnion()
2583 return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal); in addConstantUnion()
2591 return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal); in addConstantUnion()
2599 return addConstantUnion(unionArray, TType(EbtInt64, EvqConst), loc, literal); in addConstantUnion()
2607 return addConstantUnion(unionArray, TType(EbtUint64, EvqConst), loc, literal); in addConstantUnion()
2615 return addConstantUnion(unionArray, TType(EbtBool, EvqConst), loc, literal); in addConstantUnion()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DConstant.cpp148 TType constBool(EbtBool, EvqConst); in fold()
175 …returnType.shallowCopy(TType(getType().getBasicType(), EvqConst, 0, rightNode->getMatrixCols(), ge… in fold()
273 returnType.shallowCopy(TType(getBasicType(), EvqConst, getMatrixRows())); in fold()
284 returnType.shallowCopy(TType(getBasicType(), EvqConst, rightNode->getMatrixCols())); in fold()
980 newNode->getWritableType().getQualifier().storage = EvqConst; in fold()
1328 newNode->getWritableType().getQualifier().storage = EvqConst; in fold()
1376 dereferencedType.getQualifier().storage = EvqConst; in foldDereference()
1422 result->setType(TType(node->getBasicType(), EvqConst, selectors.size())); in foldSwizzle()
DIntermediate.cpp2539 node->getQualifier().storage = EvqConst; in addConstantUnion()
2551 return addConstantUnion(unionArray, TType(EbtInt8, EvqConst), loc, literal); in addConstantUnion()
2559 return addConstantUnion(unionArray, TType(EbtUint8, EvqConst), loc, literal); in addConstantUnion()
2567 return addConstantUnion(unionArray, TType(EbtInt16, EvqConst), loc, literal); in addConstantUnion()
2575 return addConstantUnion(unionArray, TType(EbtUint16, EvqConst), loc, literal); in addConstantUnion()
2583 return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal); in addConstantUnion()
2591 return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal); in addConstantUnion()
2599 return addConstantUnion(unionArray, TType(EbtInt64, EvqConst), loc, literal); in addConstantUnion()
2607 return addConstantUnion(unionArray, TType(EbtUint64, EvqConst), loc, literal); in addConstantUnion()
2615 return addConstantUnion(unionArray, TType(EbtBool, EvqConst), loc, literal); in addConstantUnion()
[all …]
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp761 …const TOperator idxOp = (index->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndexInd… in handleBracketOperator()
831 if (index->getQualifier().storage != EvqConst) in handleBracketDereference()
858 …if (base->getType().getQualifier().storage == EvqConst && index->getQualifier().storage == EvqCons… in handleBracketDereference()
859 newType.getQualifier().storage = EvqConst; in handleBracketDereference()
1045 if (base->getType().getQualifier().storage == EvqConst) in handleDotDereference()
1956 if (type.getQualifier().storage != EvqConst) { in transferTypeAttributes()
3447 …const TOperator idxOp = (argIndex->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndex… in decomposeStructBufferMethods()
3499 … const TOperator idxOp = (offsetIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect in decomposeStructBufferMethods()
3565 … const TOperator idxOp = (offsetIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect in decomposeStructBufferMethods()
3651 …const TOperator idxOp = (argIndex->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndex… in decomposeStructBufferMethods()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp761 …const TOperator idxOp = (index->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndexInd… in handleBracketOperator()
831 if (index->getQualifier().storage != EvqConst) in handleBracketDereference()
858 …if (base->getType().getQualifier().storage == EvqConst && index->getQualifier().storage == EvqCons… in handleBracketDereference()
859 newType.getQualifier().storage = EvqConst; in handleBracketDereference()
1045 if (base->getType().getQualifier().storage == EvqConst) in handleDotDereference()
1956 if (type.getQualifier().storage != EvqConst) { in transferTypeAttributes()
3447 …const TOperator idxOp = (argIndex->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndex… in decomposeStructBufferMethods()
3499 … const TOperator idxOp = (offsetIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect in decomposeStructBufferMethods()
3565 … const TOperator idxOp = (offsetIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect in decomposeStructBufferMethods()
3651 …const TOperator idxOp = (argIndex->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndex… in decomposeStructBufferMethods()
[all …]

12