Home
last modified time | relevance | path

Searched refs:EvqConstExpr (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
Dintermediate.h434 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()
DParseHelper.cpp353 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 …]
DIntermediate.cpp641 …if (left->getType().getQualifier() == EvqConstExpr && right->getType().getQualifier() == EvqConstE… in addComma()
730 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), line); in addSwizzle()
795 TType type(EbtInt, EbpUndefined, EvqConstExpr, 1); in CreateIndexNode()
882 if(type.getQualifier() != EvqConstExpr) in promote()
967 if (left->getQualifier() != EvqConstExpr || right->getQualifier() != EvqConstExpr) { in promote()
1612 …tempNode = new TIntermConstantUnion(tempConstArray, TType(EbtFloat, EbpUndefined, EvqConstExpr, ge… in fold()
1633 …tempNode = new TIntermConstantUnion(tempConstArray, TType(EbtFloat, EbpUndefined, EvqConstExpr, no… in fold()
1694 returnType = TType(EbtBool, EbpUndefined, EvqConstExpr, objectSize); in fold()
1700 returnType = TType(EbtBool, EbpUndefined, EvqConstExpr, objectSize); in fold()
1706 returnType = TType(EbtBool, EbpUndefined, EvqConstExpr, objectSize); in fold()
[all …]
DBaseTypes.h353 EvqConstExpr, // User defined constants enumerator
438 case EvqConstExpr: return "const"; break; in getQualifierString()
Dglslang.y255 … 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;
DparseConst.cpp78 if (qualifier != EvqConstExpr) { in visitBinary()
DValidateLimitations.cpp61 mValid = (symbol->getQualifier() == EvqConstExpr) || in visitSymbol()
Dglslang_tab.cpp2404 …->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()
DOutputASM.cpp239 … 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()
2850 …if(qualifier == EvqConstExpr && (!operand->getAsConstantUnion() || !operand->getAsConstantUnion()-… in registerType()
2867 …case EvqConstExpr: return sw::Shader::PARAMETER_FLOAT4LITERAL; // All converted to flo… in registerType()
2922 …if(qualifier == EvqConstExpr && (!operand->getAsConstantUnion() || !operand->getAsConstantUnion()-… in registerIndex()
2939 …case EvqConstExpr: return temporaryRegister(operand); // Unevaluated constant expressi… in registerIndex()
DSymbolTable.h348 …able *constant = new TVariable(NewPoolTString(name), TType(EbtInt, EbpUndefined, EvqConstExpr, 1)); in insertConstInt()