Searched refs:EvqConstExpr (Results 1 – 10 of 10) sorted by relevance
/external/swiftshader/src/OpenGL/compiler/ |
D | intermediate.h | 434 getTypePointer()->setQualifier(EvqConstExpr); in TIntermConstantUnion() 487 if(left->getQualifier() == EvqConstExpr && right->getQualifier() == EvqConstExpr) in setType() 489 type.setQualifier(EvqConstExpr); in setType() 516 if(operand->getQualifier() == EvqConstExpr) in setType() 518 type.setQualifier(EvqConstExpr); in setType() 558 if(!node->getAsTyped() || node->getAsTyped()->getQualifier() != EvqConstExpr) in setType() 564 type.setQualifier(EvqConstExpr); in setType()
|
D | ParseHelper.cpp | 353 case EvqConstExpr: message = "can't modify a const"; break; in lValueErrorCheck() 424 if (node->getQualifier() == EvqConstExpr) in constErrorCheck() 810 if (expr->getQualifier() != EvqConstExpr || constant == 0 || !constant->isScalarInt()) in arraySizeErrorCheck() 857 …vqAttribute) || (type.qualifier == EvqVertexIn) || (type.qualifier == EvqConstExpr && mShaderVersi… in arrayQualifierErrorCheck() 943 if (type.qualifier == EvqConstExpr) in nonInitConstErrorCheck() 975 if(type.qualifier == EvqConstExpr) in nonInitErrorCheck() 1262 if(symbolTable.atGlobalLevel() && initializer->getQualifier() != EvqConstExpr) in executeInitializer() 1272 if ((qualifier != EvqTemporary) && (qualifier != EvqGlobal) && (qualifier != EvqConstExpr)) { in executeInitializer() 1280 if (qualifier == EvqConstExpr) { in executeInitializer() 2219 …TType type(node->getType().getBasicType(), node->getType().getPrecision(), EvqConstExpr, fields.nu… in addConstVectorNode() [all …]
|
D | Intermediate.cpp | 643 …if (left->getType().getQualifier() == EvqConstExpr && right->getType().getQualifier() == EvqConstE… in addComma() 732 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), line); in addSwizzle() 797 TType type(EbtInt, EbpUndefined, EvqConstExpr, 1); in CreateIndexNode() 884 if(type.getQualifier() != EvqConstExpr) in promote() 969 if (left->getQualifier() != EvqConstExpr || right->getQualifier() != EvqConstExpr) { in promote() 1614 …tempNode = new TIntermConstantUnion(tempConstArray, TType(EbtFloat, EbpUndefined, EvqConstExpr, ge… in fold() 1635 …tempNode = new TIntermConstantUnion(tempConstArray, TType(EbtFloat, EbpUndefined, EvqConstExpr, no… in fold() 1696 returnType = TType(EbtBool, EbpUndefined, EvqConstExpr, objectSize); in fold() 1702 returnType = TType(EbtBool, EbpUndefined, EvqConstExpr, objectSize); in fold() 1708 returnType = TType(EbtBool, EbpUndefined, EvqConstExpr, objectSize); in fold() [all …]
|
D | BaseTypes.h | 353 EvqConstExpr, // User defined constants enumerator 438 case EvqConstExpr: return "const"; break; in getQualifierString()
|
D | glslang.y | 255 … context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), @1); 260 …context->intermediate.addConstantUnion(unionArray, TType(EbtUInt, EbpUndefined, EvqConstExpr), @1); 265 …ontext->intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpUndefined, EvqConstExpr), @1); 270 …context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConstExpr), @1); 921 if ($1.qualifier != EvqConstExpr && !context->symbolTable.atGlobalLevel()) 960 $$.qualifier = EvqConstExpr;
|
D | parseConst.cpp | 78 if (qualifier != EvqConstExpr) { in visitBinary()
|
D | glslang_tab.cpp | 2404 …->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), (yylsp[0])); in yyparse() 2414 …>intermediate.addConstantUnion(unionArray, TType(EbtUInt, EbpUndefined, EvqConstExpr), (yylsp[0])); in yyparse() 2424 …intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpUndefined, EvqConstExpr), (yylsp[0])); in yyparse() 2434 …>intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConstExpr), (yylsp[0])); in yyparse() 3559 … if ((yyvsp[0].interm.type).qualifier != EvqConstExpr && !context->symbolTable.atGlobalLevel()) in yyparse() 3630 (yyval.interm.type).qualifier = EvqConstExpr; in yyparse()
|
D | ValidateLimitations.cpp | 61 mValid = (symbol->getQualifier() == EvqConstExpr) || in visitSymbol()
|
D | OutputASM.cpp | 239 … z, float w) : TIntermConstantUnion(constants, TType(EbtFloat, EbpHigh, EvqConstExpr, 4, 1, false)) in Constant() 247 …Constant(bool b) : TIntermConstantUnion(constants, TType(EbtBool, EbpHigh, EvqConstExpr, 1, 1, fal… in Constant() 252 …Constant(int i) : TIntermConstantUnion(constants, TType(EbtInt, EbpHigh, EvqConstExpr, 1, 1, false… in Constant() 725 if(leftType.getQualifier() == EvqConstExpr && leftType.isArray() && leftType.getArraySize() > 1) in visitBinary() 2831 …if(qualifier == EvqConstExpr && (!operand->getAsConstantUnion() || !operand->getAsConstantUnion()-… in registerType() 2848 …case EvqConstExpr: return sw::Shader::PARAMETER_FLOAT4LITERAL; // All converted to flo… in registerType() 2906 …case EvqConstExpr: return temporaryRegister(operand); // Unevaluated constant expressi… in registerIndex()
|
D | SymbolTable.h | 348 …able *constant = new TVariable(NewPoolTString(name), TType(EbtInt, EbpUndefined, EvqConstExpr, 1)); in insertConstInt()
|