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.cpp643 …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 …]
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()
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()
DValidateLimitations.cpp61 mValid = (symbol->getQualifier() == EvqConstExpr) || in visitSymbol()
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()
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()
DSymbolTable.h348 …able *constant = new TVariable(NewPoolTString(name), TType(EbtInt, EbpUndefined, EvqConstExpr, 1)); in insertConstInt()