/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermNode_util.cpp | 51 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/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | DeferGlobalInitializers.cpp | 57 if (expression->getQualifier() != EvqConst || !expression->hasConstantValue() || in GetDeferredInitializers() 69 ASSERT(symbolNode->getQualifier() == EvqConst || in GetDeferredInitializers() 71 if (symbolNode->getQualifier() == EvqConst) in GetDeferredInitializers()
|
D | DeclareAndInitBuiltinsForInstancedMultiview.cpp | 45 new TIntermConstantUnion(numberOfViewsUnsignedConstant, TType(EbtUInt, EbpLow, EvqConst)); in InitializeViewIDAndInstanceID() 114 CreateZeroNode(TType(EbtInt, EbpHigh, EvqConst))); in SelectViewIndexInVertexShader()
|
D | ClampPointSize.cpp | 37 new TIntermConstantUnion(maxPointSizeConstant, TType(EbtFloat, EbpHigh, EvqConst)); in ClampPointSize()
|
D | RecordConstantPrecision.cpp | 105 TVariable *variable = DeclareTempVariable(mSymbolTable, node, EvqConst, &variableDeclaration); in visitConstantUnion()
|
D | RemoveUnreferencedVariables.cpp | 241 if (qualifier != EvqTemporary && qualifier != EvqGlobal && qualifier != EvqConst) in visitDeclaration()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/ |
D | ClampFragDepth.cpp | 33 TIntermTyped *minFragDepthNode = CreateZeroNode(TType(EbtFloat, EbpHigh, EvqConst)); in ClampFragDepth() 38 new TIntermConstantUnion(maxFragDepthConstant, TType(EbtFloat, EbpHigh, EvqConst)); in ClampFragDepth()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ValidateGlobalInitializer.cpp | 64 case EvqConst: in visitSymbol() 86 case EvqConst: in visitConstantUnion()
|
D | IntermNode.cpp | 648 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 …]
|
D | TranslatorMetal.cpp | 243 boolType->setQualifier(EvqConst); in insertSampleMaskWritingLogic() 293 boolType->setQualifier(EvqConst); in insertRasterizerDiscardLogic()
|
D | ParseContext.cpp | 551 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 …]
|
D | QualifierTypes.cpp | 359 case EvqConst: in JoinVariableStorageQualifier() 510 case EvqConst: in JoinParameterStorageQualifier() 686 case EvqConst: in GetParameterTypeQualifierFromSortedSequence()
|
D | ValidateLimitations.cpp | 58 mValid = (symbol->getQualifier() == EvqConst) || isLoopSymbol; in visitSymbol() 410 return node->getAsConstantUnion() != nullptr && node->getAsTyped()->getQualifier() == EvqConst; in isConstExpr()
|
D | SymbolTable_ESSL_autogen.cpp | 24700 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables() 24709 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables() 24718 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables() 24727 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables() 24736 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables() 24745 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables() 24754 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables() 24763 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables() 24772 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables() 24781 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables() [all …]
|
D | BaseTypes.h | 1018 EvqConst, // User defined constants enumerator 1478 case EvqConst: return "const"; in getQualifierString()
|
D | TranslatorMetalDirect.cpp | 493 boolType->setQualifier(EvqConst); in insertSampleMaskWritingLogic() 542 boolType->setQualifier(EvqConst); in insertRasterizationDiscardLogic()
|
/third_party/glslang/glslang/Include/ |
D | BaseTypes.h | 88 …EvqConst, // 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/ |
D | HoistConstants.cpp | 38 if (type.getQualifier() == TQualifier::EvqConst) in visitDeclarationPre()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RewriteUnaryMinusOperatorInt.cpp | 95 oneType->setQualifier(EvqConst); in visitUnary()
|
/third_party/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 | 2535 node->getQualifier().storage = EvqConst; in addConstantUnion() 2547 return addConstantUnion(unionArray, TType(EbtInt8, EvqConst), loc, literal); in addConstantUnion() 2555 return addConstantUnion(unionArray, TType(EbtUint8, EvqConst), loc, literal); in addConstantUnion() 2563 return addConstantUnion(unionArray, TType(EbtInt16, EvqConst), loc, literal); in addConstantUnion() 2571 return addConstantUnion(unionArray, TType(EbtUint16, EvqConst), loc, literal); in addConstantUnion() 2579 return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal); in addConstantUnion() 2587 return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal); in addConstantUnion() 2595 return addConstantUnion(unionArray, TType(EbtInt64, EvqConst), loc, literal); in addConstantUnion() 2603 return addConstantUnion(unionArray, TType(EbtUint64, EvqConst), loc, literal); in addConstantUnion() 2611 return addConstantUnion(unionArray, TType(EbtBool, EvqConst), loc, literal); in addConstantUnion() [all …]
|
D | ParseHelper.cpp | 512 newType.getQualifier().storage = EvqConst; in handleBracketDereference() 3105 type.getQualifier().storage = EvqConst; in constructorError() 3603 …if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == Ev… in mergeQualifiers() 3605 if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut)) in mergeQualifiers() 3615 else if ((dst.storage == EvqIn && src.storage == EvqConst) || in mergeQualifiers() 3616 (dst.storage == EvqConst && src.storage == EvqIn)) in mergeQualifiers() 3840 if (qualifier.storage == EvqConst) { in arrayQualifierError() 3924 …qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst)) in arraySizesCheck() 4182 if (type.getQualifier().storage == EvqConst || in nonInitConstCheck() 4578 case EvqConst: in paramCheckFixStorage() [all …]
|
D | ParseContextBase.cpp | 153 case EvqConst: message = "can't modify a const"; break; in lValueErrorCheck()
|
/third_party/glslang/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() 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 …]
|
D | hlslGrammar.cpp | 681 qualifier.storage = EvqConst; in acceptQualifier() 2821 if (firstNode && expr->getQualifier().storage == EvqConst) in acceptInitializer() 2822 node->getQualifier().storage = EvqConst; in acceptInitializer() 2823 else if (expr->getQualifier().storage != EvqConst) in acceptInitializer()
|