Home
last modified time | relevance | path

Searched refs:EvqConst (Results 1 – 25 of 44) 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(EbtBool, EbpUndefined, EvqConst, 1); in CreateBoolNode()
167 tempVariable->getType().getQualifier() == EvqConst || in CreateTempSymbolNode()
/external/angle/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.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()
DRewriteUnaryMinusOperatorInt.cpp95 new TIntermConstantUnion(one, TType(opr->getBasicType(), opr->getPrecision(), EvqConst)); in visitUnary()
DRewriteAtomicCounters.cpp56 constantType->setQualifier(EvqConst); in CreateUIntConstant()
404 mAtomicCounterTypeConst->setQualifier(EvqConst); in declareAtomicCounterType()
420 paramType->getQualifier() == EvqConst ? mAtomicCounterTypeConst : mAtomicCounterType; in convertFunctionParameter()
DRecordConstantPrecision.cpp141 TVariable *variable = DeclareTempVariable(mSymbolTable, node, EvqConst, &variableDeclaration); in visitConstantUnion()
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.cpp593 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 …]
DQualifierTypes.cpp358 case EvqConst: in JoinVariableStorageQualifier()
457 case EvqConst: in JoinParameterStorageQualifier()
630 case EvqConst: in GetParameterTypeQualifierFromSortedSequence()
DParseContext.cpp520 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 …]
DValidateLimitations.cpp58 mValid = (symbol->getQualifier() == EvqConst) || isLoopSymbol; in visitSymbol()
400 return node->getAsConstantUnion() != nullptr && node->getAsTyped()->getQualifier() == EvqConst; in isConstExpr()
DBaseTypes.h918 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/
DBaseTypes.h88EvqConst, // 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/
DBaseTypes.h88EvqConst, // 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/
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.cpp2567 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 …]
DParseHelper.cpp508 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/
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.cpp2542 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 …]
DParseHelper.cpp498 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/
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()
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/
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()
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 …]

12