/external/angle/src/compiler/translator/tree_util/ |
D | IntermNode_util.cpp | 51 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()
|
/external/angle/src/compiler/translator/tree_ops/ |
D | ClampFragDepth.cpp | 33 TIntermTyped *minFragDepthNode = CreateZeroNode(TType(EbtFloat, EbpHigh, EvqConst)); in ClampFragDepth() 38 new TIntermConstantUnion(maxFragDepthConstant, TType(EbtFloat, EbpHigh, EvqConst)); in ClampFragDepth()
|
D | DeferGlobalInitializers.cpp | 56 if (expression->getQualifier() != EvqConst || !expression->hasConstantValue()) in GetDeferredInitializers() 67 ASSERT(symbolNode->getQualifier() == EvqConst || in GetDeferredInitializers() 69 if (symbolNode->getQualifier() == EvqConst) in GetDeferredInitializers()
|
D | DeclareAndInitBuiltinsForInstancedMultiview.cpp | 45 new TIntermConstantUnion(numberOfViewsUnsignedConstant, TType(EbtUInt, EbpHigh, EvqConst)); in InitializeViewIDAndInstanceID() 114 CreateZeroNode(TType(EbtInt, EbpHigh, EvqConst))); in SelectViewIndexInVertexShader()
|
D | ClampPointSize.cpp | 36 new TIntermConstantUnion(maxPointSizeConstant, TType(EbtFloat, EbpHigh, EvqConst)); in ClampPointSize()
|
D | RewriteUnaryMinusOperatorInt.cpp | 95 new TIntermConstantUnion(one, TType(opr->getBasicType(), opr->getPrecision(), EvqConst)); in visitUnary()
|
D | RewriteAtomicCounters.cpp | 56 constantType->setQualifier(EvqConst); in CreateUIntConstant() 404 mAtomicCounterTypeConst->setQualifier(EvqConst); in declareAtomicCounterType() 420 paramType->getQualifier() == EvqConst ? mAtomicCounterTypeConst : mAtomicCounterType; in convertFunctionParameter()
|
D | RecordConstantPrecision.cpp | 141 TVariable *variable = DeclareTempVariable(mSymbolTable, node, EvqConst, &variableDeclaration); in visitConstantUnion()
|
D | RemoveUnreferencedVariables.cpp | 241 if (qualifier != EvqTemporary && qualifier != EvqGlobal && qualifier != EvqConst) in visitDeclaration()
|
/external/angle/src/compiler/translator/ |
D | ValidateGlobalInitializer.cpp | 64 case EvqConst: in visitSymbol() 86 case EvqConst: in visitConstantUnion()
|
D | IntermNode.cpp | 593 mType.setQualifier(EvqConst); in setPrecisionAndQualifier() 603 if (typedArg && typedArg->getQualifier() != EvqConst) in areChildrenConstQualified() 845 if (getQualifier() == EvqConst) in hasSideEffects() 1226 setType(TType(EbtInt, EbpUndefined, EvqConst)); in promote() 1231 if (mOperand->getQualifier() == EvqConst) in promote() 1232 resultQualifier = EvqConst; in promote() 1431 if (cond->getQualifier() == EvqConst && trueExpression->getQualifier() == EvqConst && in DetermineQualifier() 1432 falseExpression->getQualifier() == EvqConst) in DetermineQualifier() 1434 return EvqConst; in DetermineQualifier() 1458 if (mOperand->getQualifier() == EvqConst) in promote() [all …]
|
D | QualifierTypes.cpp | 358 case EvqConst: in JoinVariableStorageQualifier() 457 case EvqConst: in JoinParameterStorageQualifier() 630 case EvqConst: in GetParameterTypeQualifierFromSortedSequence()
|
D | ParseContext.cpp | 520 case EvqConst: in checkCanBeLValue() 654 if (node->getQualifier() != EvqConst) in checkIsConst() 993 if (expr->getQualifier() != EvqConst || constant == nullptr || !constant->isScalarInt()) in checkIsValidArraySize() 1047 (elementQualifier.qualifier == EvqConst && mShaderVersion < 300)) in checkIsValidQualifierForArray() 1139 if (type->getQualifier() == EvqConst) in checkCanBeDeclaredWithoutInitializer() 1494 publicType.qualifier != EvqConst) && in nonEmptyDeclarationErrorCheck() 1893 constantUnion, TType(constantUnion->getType(), EbpUndefined, EvqConst)); in addScalarLiteral() 1946 TIntermTyped *node = CreateZeroNode(TType(EbtFloat, EbpHigh, EvqConst)); in parseVariableIdentifier() 1974 type.setQualifier(EvqConst); in parseVariableIdentifier() 2017 if (qualifier == EvqConst) in executeInitializer() [all …]
|
D | ValidateLimitations.cpp | 58 mValid = (symbol->getQualifier() == EvqConst) || isLoopSymbol; in visitSymbol() 400 return node->getAsConstantUnion() != nullptr && node->getAsTyped()->getQualifier() == EvqConst; in isConstExpr()
|
D | BaseTypes.h | 918 EvqConst, // User defined constants and non-output parameters in functions enumerator 1270 case EvqConst: return "const"; in getQualifierString()
|
/external/angle/third_party/glslang/src/glslang/Include/ |
D | BaseTypes.h | 88 …EvqConst, // User-defined constant values, will be semantically constant and constant fold… enumerator 316 case EvqConst: return "const"; break; in GetStorageQualifierString()
|
/external/deqp-deps/glslang/glslang/Include/ |
D | BaseTypes.h | 88 …EvqConst, // User-defined constant values, will be semantically constant and constant fold… enumerator 319 case EvqConst: return "const"; break; in GetStorageQualifierString()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Constant.cpp | 148 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()
|
D | Intermediate.cpp | 2567 node->getQualifier().storage = EvqConst; in addConstantUnion() 2579 return addConstantUnion(unionArray, TType(EbtInt8, EvqConst), loc, literal); in addConstantUnion() 2587 return addConstantUnion(unionArray, TType(EbtUint8, EvqConst), loc, literal); in addConstantUnion() 2595 return addConstantUnion(unionArray, TType(EbtInt16, EvqConst), loc, literal); in addConstantUnion() 2603 return addConstantUnion(unionArray, TType(EbtUint16, EvqConst), loc, literal); in addConstantUnion() 2611 return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal); in addConstantUnion() 2619 return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal); in addConstantUnion() 2627 return addConstantUnion(unionArray, TType(EbtInt64, EvqConst), loc, literal); in addConstantUnion() 2635 return addConstantUnion(unionArray, TType(EbtUint64, EvqConst), loc, literal); in addConstantUnion() 2643 return addConstantUnion(unionArray, TType(EbtBool, EvqConst), loc, literal); in addConstantUnion() [all …]
|
D | ParseHelper.cpp | 508 newType.getQualifier().storage = EvqConst; in handleBracketDereference() 3067 type.getQualifier().storage = EvqConst; in constructorError() 3565 …if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == Ev… in mergeQualifiers() 3567 if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut)) in mergeQualifiers() 3577 else if ((dst.storage == EvqIn && src.storage == EvqConst) || in mergeQualifiers() 3578 (dst.storage == EvqConst && src.storage == EvqIn)) in mergeQualifiers() 3802 if (qualifier.storage == EvqConst) { in arrayQualifierError() 3886 …qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst)) in arraySizesCheck() 4144 if (type.getQualifier().storage == EvqConst || in nonInitConstCheck() 4538 case EvqConst: in paramCheckFixStorage() [all …]
|
/external/angle/third_party/glslang/src/glslang/MachineIndependent/ |
D | Constant.cpp | 148 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()
|
D | Intermediate.cpp | 2542 node->getQualifier().storage = EvqConst; in addConstantUnion() 2554 return addConstantUnion(unionArray, TType(EbtInt8, EvqConst), loc, literal); in addConstantUnion() 2562 return addConstantUnion(unionArray, TType(EbtUint8, EvqConst), loc, literal); in addConstantUnion() 2570 return addConstantUnion(unionArray, TType(EbtInt16, EvqConst), loc, literal); in addConstantUnion() 2578 return addConstantUnion(unionArray, TType(EbtUint16, EvqConst), loc, literal); in addConstantUnion() 2586 return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal); in addConstantUnion() 2594 return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal); in addConstantUnion() 2602 return addConstantUnion(unionArray, TType(EbtInt64, EvqConst), loc, literal); in addConstantUnion() 2610 return addConstantUnion(unionArray, TType(EbtUint64, EvqConst), loc, literal); in addConstantUnion() 2618 return addConstantUnion(unionArray, TType(EbtBool, EvqConst), loc, literal); in addConstantUnion() [all …]
|
D | ParseHelper.cpp | 498 newType.getQualifier().storage = EvqConst; in handleBracketDereference() 3024 type.getQualifier().storage = EvqConst; in constructorError() 3517 …if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == Ev… in mergeQualifiers() 3519 if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut)) in mergeQualifiers() 3529 else if ((dst.storage == EvqIn && src.storage == EvqConst) || in mergeQualifiers() 3530 (dst.storage == EvqConst && src.storage == EvqIn)) in mergeQualifiers() 3754 if (qualifier.storage == EvqConst) { in arrayQualifierError() 3838 …qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst)) in arraySizesCheck() 4096 if (type.getQualifier().storage == EvqConst || in nonInitConstCheck() 4490 case EvqConst: in paramCheckFixStorage() [all …]
|
/external/angle/third_party/glslang/src/hlsl/ |
D | hlslParseHelper.cpp | 761 …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() 3363 …const TOperator idxOp = (argIndex->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndex… in decomposeStructBufferMethods() 3415 … const TOperator idxOp = (offsetIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect in decomposeStructBufferMethods() 3481 … const TOperator idxOp = (offsetIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect in decomposeStructBufferMethods() 3567 …const TOperator idxOp = (argIndex->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndex… in decomposeStructBufferMethods() 3684 TType retType(EbtFloat, EvqConst, 2); in getSamplePosArray() [all …]
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslParseHelper.cpp | 761 …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() 3363 …const TOperator idxOp = (argIndex->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndex… in decomposeStructBufferMethods() 3415 … const TOperator idxOp = (offsetIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect in decomposeStructBufferMethods() 3481 … const TOperator idxOp = (offsetIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect in decomposeStructBufferMethods() 3567 …const TOperator idxOp = (argIndex->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndex… in decomposeStructBufferMethods() 3684 TType retType(EbtFloat, EvqConst, 2); in getSamplePosArray() [all …]
|