Lines Matching refs:interm
307 } interm; member
2379 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(constArray, t, (yylsp[0])); in yyparse()
2381 … (yyval.interm.intermTypedNode) = context->intermediate.addSymbol(variable->getUniqueId(), in yyparse()
2391 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2401 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, … in yyparse()
2411 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtUInt,… in yyparse()
2421 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat… in yyparse()
2431 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool,… in yyparse()
2439 (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode); in yyparse()
2447 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2455 …(yyval.interm.intermTypedNode) = context->addIndexExpression((yyvsp[-3].interm.intermTypedNode), (… in yyparse()
2463 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2471 …(yyval.interm.intermTypedNode) = context->addFieldSelectionExpression((yyvsp[-2].interm.intermType… in yyparse()
2479 …(yyval.interm.intermTypedNode) = context->addUnaryMathLValue(EOpPostIncrement, (yyvsp[-1].interm.i… in yyparse()
2487 …(yyval.interm.intermTypedNode) = context->addUnaryMathLValue(EOpPostDecrement, (yyvsp[-1].interm.i… in yyparse()
2495 if (context->integerErrorCheck((yyvsp[0].interm.intermTypedNode), "[]")) in yyparse()
2497 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2506 …(yyval.interm.intermTypedNode) = context->addFunctionCallOrMethod((yyvsp[0].interm).function, (yyv… in yyparse()
2518 (yyval.interm) = (yyvsp[0].interm); in yyparse()
2519 (yyval.interm).nodePair.node2 = nullptr; in yyparse()
2528 (yyval.interm) = (yyvsp[0].interm); in yyparse()
2529 (yyval.interm).nodePair.node2 = (yyvsp[-2].interm.intermTypedNode); in yyparse()
2537 (yyval.interm) = (yyvsp[-1].interm); in yyparse()
2545 (yyval.interm) = (yyvsp[-1].interm); in yyparse()
2553 (yyval.interm).function = (yyvsp[-1].interm.function); in yyparse()
2554 (yyval.interm).nodePair.node1 = nullptr; in yyparse()
2562 (yyval.interm).function = (yyvsp[0].interm.function); in yyparse()
2563 (yyval.interm).nodePair.node1 = nullptr; in yyparse()
2571 TParameter param = { 0, new TType((yyvsp[0].interm.intermTypedNode)->getType()) }; in yyparse()
2572 (yyvsp[-1].interm.function)->addParameter(param); in yyparse()
2573 (yyval.interm).function = (yyvsp[-1].interm.function); in yyparse()
2574 (yyval.interm).nodePair.node1 = (yyvsp[0].interm.intermTypedNode); in yyparse()
2582 TParameter param = { 0, new TType((yyvsp[0].interm.intermTypedNode)->getType()) }; in yyparse()
2583 (yyvsp[-2].interm).function->addParameter(param); in yyparse()
2584 (yyval.interm).function = (yyvsp[-2].interm).function; in yyparse()
2585 …(yyval.interm).nodePair.node1 = context->intermediate.growAggregate((yyvsp[-2].interm).intermNode,… in yyparse()
2593 (yyval.interm.function) = (yyvsp[-1].interm.function); in yyparse()
2601 if ((yyvsp[0].interm.type).array) { in yyparse()
2604 (yyval.interm.function) = context->addConstructorFunc((yyvsp[0].interm.type)); in yyparse()
2616 (yyval.interm.function) = function; in yyparse()
2628 (yyval.interm.function) = function; in yyparse()
2636 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2644 …(yyval.interm.intermTypedNode) = context->addUnaryMathLValue(EOpPreIncrement, (yyvsp[0].interm.int… in yyparse()
2652 …(yyval.interm.intermTypedNode) = context->addUnaryMathLValue(EOpPreDecrement, (yyvsp[0].interm.int… in yyparse()
2660 if ((yyvsp[-1].interm).op != EOpNull) { in yyparse()
2661 …(yyval.interm.intermTypedNode) = context->addUnaryMath((yyvsp[-1].interm).op, (yyvsp[0].interm.int… in yyparse()
2663 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2670 { (yyval.interm).op = EOpNull; } in yyparse()
2676 { (yyval.interm).op = EOpNegative; } in yyparse()
2682 { (yyval.interm).op = EOpLogicalNot; } in yyparse()
2690 (yyval.interm).op = EOpBitwiseNot; in yyparse()
2697 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2705 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpMul, (yyvsp[-2].interm.intermTypedNode)… in yyparse()
2714 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpDiv, (yyvsp[-2].interm.intermTypedNode)… in yyparse()
2724 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpIMod, (yyvsp[-2].interm.intermTypedNode… in yyparse()
2731 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2738 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpAdd, (yyvsp[-2].interm.intermTypedNode)… in yyparse()
2746 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpSub, (yyvsp[-2].interm.intermTypedNode)… in yyparse()
2753 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2761 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpBitShiftLeft, (yyvsp[-2].interm.intermT… in yyparse()
2770 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpBitShiftRight, (yyvsp[-2].interm.interm… in yyparse()
2777 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2784 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpLessThan, (yyvsp[-2].inter… in yyparse()
2792 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpGreaterThan, (yyvsp[-2].in… in yyparse()
2800 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpLessThanEqual, (yyvsp[-2].… in yyparse()
2808 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpGreaterThanEqual, (yyvsp[-… in yyparse()
2815 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2822 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpEqual, (yyvsp[-2].interm.i… in yyparse()
2830 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpNotEqual, (yyvsp[-2].inter… in yyparse()
2837 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2845 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpBitwiseAnd, (yyvsp[-2].interm.intermTyp… in yyparse()
2852 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2860 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpBitwiseXor, (yyvsp[-2].interm.intermTyp… in yyparse()
2867 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2875 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpBitwiseOr, (yyvsp[-2].interm.intermType… in yyparse()
2882 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2889 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpLogicalAnd, (yyvsp[-2].int… in yyparse()
2896 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2903 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpLogicalXor, (yyvsp[-2].int… in yyparse()
2910 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2917 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpLogicalOr, (yyvsp[-2].inte… in yyparse()
2924 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2931 …yval.interm.intermTypedNode) = context->addTernarySelection((yyvsp[-4].interm.intermTypedNode), (y… in yyparse()
2938 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2945 if (context->lValueErrorCheck((yylsp[-1]), "assign", (yyvsp[-2].interm.intermTypedNode))) in yyparse()
2947 …(yyval.interm.intermTypedNode) = context->addAssign((yyvsp[-1].interm).op, (yyvsp[-2].interm.inter… in yyparse()
2954 { (yyval.interm).op = EOpAssign; } in yyparse()
2960 { FRAG_VERT_ONLY("*=", (yylsp[0])); (yyval.interm).op = EOpMulAssign; } in yyparse()
2966 { FRAG_VERT_ONLY("/=", (yylsp[0])); (yyval.interm).op = EOpDivAssign; } in yyparse()
2973 FRAG_VERT_ONLY("%=", (yylsp[0])); (yyval.interm).op = EOpIModAssign; } in yyparse()
2979 { (yyval.interm).op = EOpAddAssign; } in yyparse()
2985 { (yyval.interm).op = EOpSubAssign; } in yyparse()
2993 (yyval.interm).op = EOpBitShiftLeftAssign; } in yyparse()
3001 (yyval.interm).op = EOpBitShiftRightAssign; } in yyparse()
3009 (yyval.interm).op = EOpBitwiseAndAssign; } in yyparse()
3017 (yyval.interm).op = EOpBitwiseXorAssign; } in yyparse()
3025 (yyval.interm).op = EOpBitwiseOrAssign; } in yyparse()
3032 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
3040 …(yyval.interm.intermTypedNode) = context->intermediate.addComma((yyvsp[-2].interm.intermTypedNode)… in yyparse()
3041 if ((yyval.interm.intermTypedNode) == 0) { in yyparse()
3042 …->binaryOpError((yylsp[-1]), ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(), (yyvsp[… in yyparse()
3044 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
3053 if (context->constErrorCheck((yyvsp[0].interm.intermTypedNode))) in yyparse()
3055 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
3073 …(yyval.interm.intermNode) = context->addFunctionPrototypeDeclaration(*((yyvsp[-1].interm).function… in yyparse()
3081 TIntermAggregate *aggNode = (yyvsp[-1].interm).intermAggregate; in yyparse()
3084 (yyval.interm.intermNode) = aggNode; in yyparse()
3092 …if (!context->symbolTable.setDefaultPrecision( (yyvsp[-1].interm.type), (yyvsp[-2].interm.precisio… in yyparse()
3093 …egal type argument for default precision qualifier", getBasicString((yyvsp[-1].interm.type).type)); in yyparse()
3096 (yyval.interm.intermNode) = 0; in yyparse()
3104 … ES3_ONLY(getQualifierString((yyvsp[-4].interm.type).qualifier), (yylsp[-4]), "interface blocks"); in yyparse()
3105 …(yyval.interm.intermNode) = context->addInterfaceBlock((yyvsp[-4].interm.type), (yylsp[-3]), *(yyv… in yyparse()
3113 … ES3_ONLY(getQualifierString((yyvsp[-5].interm.type).qualifier), (yylsp[-5]), "interface blocks"); in yyparse()
3114 …(yyval.interm.intermNode) = context->addInterfaceBlock((yyvsp[-5].interm.type), (yylsp[-4]), *(yyv… in yyparse()
3122 … ES3_ONLY(getQualifierString((yyvsp[-8].interm.type).qualifier), (yylsp[-8]), "interface blocks"); in yyparse()
3123 …interm.intermNode) = context->addInterfaceBlock((yyvsp[-8].interm.type), (yylsp[-7]), *(yyvsp[-7].… in yyparse()
3131 context->parseGlobalLayoutQualifier((yyvsp[-1].interm.type)); in yyparse()
3132 (yyval.interm.intermNode) = 0; in yyparse()
3140 …(yyval.interm).function = context->parseFunctionDeclarator((yylsp[0]), (yyvsp[-1].interm.function)… in yyparse()
3148 (yyval.interm.function) = (yyvsp[0].interm.function); in yyparse()
3156 (yyval.interm.function) = (yyvsp[0].interm.function); in yyparse()
3165 (yyval.interm.function) = (yyvsp[-1].interm.function); in yyparse()
3166 if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid) in yyparse()
3167 (yyvsp[-1].interm.function)->addParameter((yyvsp[0].interm).param); in yyparse()
3169 delete (yyvsp[0].interm).param.type; in yyparse()
3181 if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) { in yyparse()
3187 delete (yyvsp[0].interm).param.type; in yyparse()
3190 (yyval.interm.function) = (yyvsp[-2].interm.function); in yyparse()
3191 (yyvsp[-2].interm.function)->addParameter((yyvsp[0].interm).param); in yyparse()
3200 …if ((yyvsp[-2].interm.type).qualifier != EvqGlobal && (yyvsp[-2].interm.type).qualifier != EvqTemp… in yyparse()
3201 …no qualifiers allowed for function return", getQualifierString((yyvsp[-2].interm.type).qualifier)); in yyparse()
3204 if (!(yyvsp[-2].interm.type).layoutQualifier.isEmpty()) in yyparse()
3210 …if (context->samplerErrorCheck((yylsp[-1]), (yyvsp[-2].interm.type), "samplers can't be function r… in yyparse()
3215 TType type((yyvsp[-2].interm.type)); in yyparse()
3217 (yyval.interm.function) = function; in yyparse()
3227 if ((yyvsp[-1].interm.type).type == EbtVoid) { in yyparse()
3233 TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type))}; in yyparse()
3234 (yyval.interm).param = param; in yyparse()
3243 if (context->arrayTypeErrorCheck((yylsp[-2]), (yyvsp[-4].interm.type))) in yyparse()
3250 if (context->arraySizeErrorCheck((yylsp[-2]), (yyvsp[-1].interm.intermTypedNode), size)) in yyparse()
3252 (yyvsp[-4].interm.type).setArray(true, size); in yyparse()
3254 TType* type = new TType((yyvsp[-4].interm.type)); in yyparse()
3256 (yyval.interm).param = param; in yyparse()
3264 (yyval.interm) = (yyvsp[0].interm); in yyparse()
3265 …text->paramErrorCheck((yylsp[0]), (yyvsp[-2].interm.qualifier), (yyvsp[-1].interm.qualifier), (yyv… in yyparse()
3274 (yyval.interm) = (yyvsp[0].interm); in yyparse()
3275 …ontext->parameterSamplerErrorCheck((yylsp[0]), (yyvsp[-1].interm.qualifier), *(yyvsp[0].interm).pa… in yyparse()
3277 …ntext->paramErrorCheck((yylsp[0]), EvqTemporary, (yyvsp[-1].interm.qualifier), (yyval.interm).para… in yyparse()
3286 (yyval.interm) = (yyvsp[0].interm); in yyparse()
3287 …text->paramErrorCheck((yylsp[0]), (yyvsp[-2].interm.qualifier), (yyvsp[-1].interm.qualifier), (yyv… in yyparse()
3296 (yyval.interm) = (yyvsp[0].interm); in yyparse()
3297 …ontext->parameterSamplerErrorCheck((yylsp[0]), (yyvsp[-1].interm.qualifier), *(yyvsp[0].interm).pa… in yyparse()
3299 …ntext->paramErrorCheck((yylsp[0]), EvqTemporary, (yyvsp[-1].interm.qualifier), (yyval.interm).para… in yyparse()
3308 (yyval.interm.qualifier) = EvqIn; in yyparse()
3316 (yyval.interm.qualifier) = EvqIn; in yyparse()
3324 (yyval.interm.qualifier) = EvqOut; in yyparse()
3332 (yyval.interm.qualifier) = EvqInOut; in yyparse()
3340 TParameter param = { 0, new TType((yyvsp[0].interm.type)) }; in yyparse()
3341 (yyval.interm).param = param; in yyparse()
3349 (yyval.interm) = (yyvsp[0].interm); in yyparse()
3357 (yyval.interm) = (yyvsp[-2].interm); in yyparse()
3358 …(yyval.interm).intermAggregate = context->parseDeclarator((yyval.interm).type, (yyvsp[-2].interm).… in yyparse()
3366 (yyval.interm) = (yyvsp[-5].interm); in yyparse()
3367 …interm).intermAggregate = context->parseArrayDeclarator((yyval.interm).type, (yyvsp[-5].interm).in… in yyparse()
3376 (yyval.interm) = (yyvsp[-6].interm); in yyparse()
3377 …interm).intermAggregate = context->parseArrayInitDeclarator((yyval.interm).type, (yyvsp[-6].interm… in yyparse()
3386 (yyval.interm) = (yyvsp[-7].interm); in yyparse()
3387 …interm).intermAggregate = context->parseArrayInitDeclarator((yyval.interm).type, (yyvsp[-7].interm… in yyparse()
3395 (yyval.interm) = (yyvsp[-4].interm); in yyparse()
3396 …interm).intermAggregate = context->parseInitDeclarator((yyval.interm).type, (yyvsp[-4].interm).int… in yyparse()
3404 (yyval.interm).type = (yyvsp[0].interm.type); in yyparse()
3405 …(yyval.interm).intermAggregate = context->parseSingleDeclaration((yyval.interm).type, (yylsp[0]), … in yyparse()
3413 (yyval.interm).type = (yyvsp[-1].interm.type); in yyparse()
3414 …(yyval.interm).intermAggregate = context->parseSingleDeclaration((yyval.interm).type, (yylsp[0]), … in yyparse()
3422 (yyval.interm).type = (yyvsp[-4].interm.type); in yyparse()
3423 …interm).intermAggregate = context->parseSingleArrayDeclaration((yyval.interm).type, (yylsp[-3]), *… in yyparse()
3432 (yyval.interm).type = (yyvsp[-5].interm.type); in yyparse()
3433 …interm).intermAggregate = context->parseSingleArrayInitDeclaration((yyval.interm).type, (yylsp[-4]… in yyparse()
3442 (yyval.interm).type = (yyvsp[-6].interm.type); in yyparse()
3443 …interm).intermAggregate = context->parseSingleArrayInitDeclaration((yyval.interm).type, (yylsp[-5]… in yyparse()
3451 (yyval.interm).type = (yyvsp[-3].interm.type); in yyparse()
3452 ….interm).intermAggregate = context->parseSingleInitDeclaration((yyval.interm).type, (yylsp[-2]), *… in yyparse()
3461 …(yyval.interm).intermAggregate = context->parseInvariantDeclaration((yylsp[-1]), (yylsp[0]), (yyvs… in yyparse()
3469 (yyval.interm.type) = (yyvsp[0].interm.type); in yyparse()
3471 if ((yyvsp[0].interm.type).array) { in yyparse()
3474 (yyvsp[0].interm.type).clearArrayness(); in yyparse()
3484 …interm.type) = context->addFullySpecifiedType((yyvsp[-1].interm.type).qualifier, (yyvsp[-1].interm… in yyparse()
3492 (yyval.interm.type).qualifier = EvqSmooth; in yyparse()
3500 (yyval.interm.type).qualifier = EvqFlat; in yyparse()
3508 (yyval.interm.qualifier) = EvqConstReadOnly; in yyparse()
3520 (yyval.interm.type).setBasic(EbtVoid, EvqAttribute, (yylsp[0])); in yyparse()
3532 (yyval.interm.type).setBasic(EbtVoid, EvqVaryingOut, (yylsp[0])); in yyparse()
3534 (yyval.interm.type).setBasic(EbtVoid, EvqVaryingIn, (yylsp[0])); in yyparse()
3546 (yyval.interm.type).setBasic(EbtVoid, EvqInvariantVaryingOut, (yylsp[-1])); in yyparse()
3548 (yyval.interm.type).setBasic(EbtVoid, EvqInvariantVaryingIn, (yylsp[-1])); in yyparse()
3556 … if ((yyvsp[0].interm.type).qualifier != EvqConstExpr && !context->symbolTable.atGlobalLevel()) in yyparse()
3558 … can only use the const storage qualifier.", getQualifierString((yyvsp[0].interm.type).qualifier)); in yyparse()
3561 (yyval.interm.type).setBasic(EbtVoid, (yyvsp[0].interm.type).qualifier, (yylsp[0])); in yyparse()
3569 …(yyval.interm.type) = context->joinInterpolationQualifiers((yylsp[-1]), (yyvsp[-1].interm.type).qu… in yyparse()
3577 …ent 'in' or vertex 'out' storage qualifier", getQualifierString((yyvsp[0].interm.type).qualifier)); in yyparse()
3581 (yyval.interm.type).setBasic(EbtVoid, qual, (yylsp[0])); in yyparse()
3589 … (yyval.interm.type).qualifier = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3590 (yyval.interm.type).layoutQualifier = (yyvsp[0].interm.layoutQualifier); in yyparse()
3598 (yyval.interm.type).setBasic(EbtVoid, (yyvsp[0].interm.type).qualifier, (yylsp[0])); in yyparse()
3599 (yyval.interm.type).layoutQualifier = (yyvsp[-1].interm.layoutQualifier); in yyparse()
3607 context->es3InvariantErrorCheck((yyvsp[0].interm.type).qualifier, (yylsp[-1])); in yyparse()
3608 (yyval.interm.type).setBasic(EbtVoid, (yyvsp[0].interm.type).qualifier, (yylsp[0])); in yyparse()
3609 (yyval.interm.type).invariant = true; in yyparse()
3617 context->es3InvariantErrorCheck((yyvsp[0].interm.type).qualifier, (yylsp[-2])); in yyparse()
3618 …(yyval.interm.type) = context->joinInterpolationQualifiers((yylsp[-1]), (yyvsp[-1].interm.type).qu… in yyparse()
3619 (yyval.interm.type).invariant = true; in yyparse()
3627 (yyval.interm.type).qualifier = EvqConstExpr; in yyparse()
3636 …(yyval.interm.type).qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqFragmentIn :… in yyparse()
3645 …(yyval.interm.type).qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqFragmentOut … in yyparse()
3659 …(yyval.interm.type).qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqCentroidIn :… in yyparse()
3673 …(yyval.interm.type).qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqFragmentOut … in yyparse()
3683 (yyval.interm.type).qualifier = EvqUniform; in yyparse()
3691 (yyval.interm.type) = (yyvsp[0].interm.type); in yyparse()
3693 if ((yyval.interm.type).precision == EbpUndefined) { in yyparse()
3694 …(yyval.interm.type).precision = context->symbolTable.getDefaultPrecision((yyvsp[0].interm.type).ty… in yyparse()
3695 …if (context->precisionErrorCheck((yylsp[0]), (yyval.interm.type).precision, (yyvsp[0].interm.type)… in yyparse()
3706 (yyval.interm.type) = (yyvsp[0].interm.type); in yyparse()
3707 (yyval.interm.type).precision = (yyvsp[-1].interm.precision); in yyparse()
3709 if (!SupportsPrecision((yyvsp[0].interm.type).type)) { in yyparse()
3710 …((yylsp[-1]), "illegal type for precision qualifier", getBasicString((yyvsp[0].interm.type).type)); in yyparse()
3720 (yyval.interm.precision) = EbpHigh; in yyparse()
3728 (yyval.interm.precision) = EbpMedium; in yyparse()
3736 (yyval.interm.precision) = EbpLow; in yyparse()
3745 (yyval.interm.layoutQualifier) = (yyvsp[-1].interm.layoutQualifier); in yyparse()
3753 (yyval.interm.layoutQualifier) = (yyvsp[0].interm.layoutQualifier); in yyparse()
3761 …(yyval.interm.layoutQualifier) = context->joinLayoutQualifiers((yyvsp[-2].interm.layoutQualifier),… in yyparse()
3769 …(yyval.interm.layoutQualifier) = context->parseLayoutQualifier(*(yyvsp[0].lex).string, (yylsp[0])); in yyparse()
3777 …(yyval.interm.layoutQualifier) = context->parseLayoutQualifier(*(yyvsp[-2].lex).string, (yylsp[-2]… in yyparse()
3785 …(yyval.interm.layoutQualifier) = context->parseLayoutQualifier(*(yyvsp[-2].lex).string, (yylsp[-2]… in yyparse()
3793 (yyval.interm.type) = (yyvsp[0].interm.type); in yyparse()
3802 (yyval.interm.type) = (yyvsp[-2].interm.type); in yyparse()
3803 (yyval.interm.type).setArray(true, 0); in yyparse()
3811 (yyval.interm.type) = (yyvsp[-3].interm.type); in yyparse()
3813 if (context->arrayTypeErrorCheck((yylsp[-2]), (yyvsp[-3].interm.type))) in yyparse()
3817 if (context->arraySizeErrorCheck((yylsp[-2]), (yyvsp[-1].interm.intermTypedNode), size)) in yyparse()
3819 (yyval.interm.type).setArray(true, size); in yyparse()
3829 (yyval.interm.type).setBasic(EbtVoid, qual, (yylsp[0])); in yyparse()
3838 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
3847 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse()
3856 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse()
3865 (yyval.interm.type).setBasic(EbtBool, qual, (yylsp[0])); in yyparse()
3874 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
3875 (yyval.interm.type).setAggregate(2); in yyparse()
3884 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
3885 (yyval.interm.type).setAggregate(3); in yyparse()
3894 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
3895 (yyval.interm.type).setAggregate(4); in yyparse()
3904 (yyval.interm.type).setBasic(EbtBool, qual, (yylsp[0])); in yyparse()
3905 (yyval.interm.type).setAggregate(2); in yyparse()
3914 (yyval.interm.type).setBasic(EbtBool, qual, (yylsp[0])); in yyparse()
3915 (yyval.interm.type).setAggregate(3); in yyparse()
3924 (yyval.interm.type).setBasic(EbtBool, qual, (yylsp[0])); in yyparse()
3925 (yyval.interm.type).setAggregate(4); in yyparse()
3934 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse()
3935 (yyval.interm.type).setAggregate(2); in yyparse()
3944 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse()
3945 (yyval.interm.type).setAggregate(3); in yyparse()
3954 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse()
3955 (yyval.interm.type).setAggregate(4); in yyparse()
3964 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse()
3965 (yyval.interm.type).setAggregate(2); in yyparse()
3974 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse()
3975 (yyval.interm.type).setAggregate(3); in yyparse()
3984 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse()
3985 (yyval.interm.type).setAggregate(4); in yyparse()
3995 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
3996 (yyval.interm.type).setMatrix(2, 2); in yyparse()
4006 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4007 (yyval.interm.type).setMatrix(3, 3); in yyparse()
4017 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4018 (yyval.interm.type).setMatrix(4, 4); in yyparse()
4028 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4029 (yyval.interm.type).setMatrix(2, 3); in yyparse()
4039 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4040 (yyval.interm.type).setMatrix(3, 2); in yyparse()
4050 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4051 (yyval.interm.type).setMatrix(2, 4); in yyparse()
4061 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4062 (yyval.interm.type).setMatrix(4, 2); in yyparse()
4072 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4073 (yyval.interm.type).setMatrix(3, 4); in yyparse()
4083 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4084 (yyval.interm.type).setMatrix(4, 3); in yyparse()
4094 (yyval.interm.type).setBasic(EbtSampler2D, qual, (yylsp[0])); in yyparse()
4104 (yyval.interm.type).setBasic(EbtSamplerCube, qual, (yylsp[0])); in yyparse()
4118 (yyval.interm.type).setBasic(EbtSamplerExternalOES, qual, (yylsp[0])); in yyparse()
4128 (yyval.interm.type).setBasic(EbtSampler3D, qual, (yylsp[0])); in yyparse()
4138 (yyval.interm.type).setBasic(EbtSampler2DArray, qual, (yylsp[0])); in yyparse()
4148 (yyval.interm.type).setBasic(EbtISampler2D, qual, (yylsp[0])); in yyparse()
4158 (yyval.interm.type).setBasic(EbtISampler3D, qual, (yylsp[0])); in yyparse()
4168 (yyval.interm.type).setBasic(EbtISamplerCube, qual, (yylsp[0])); in yyparse()
4178 (yyval.interm.type).setBasic(EbtISampler2DArray, qual, (yylsp[0])); in yyparse()
4188 (yyval.interm.type).setBasic(EbtUSampler2D, qual, (yylsp[0])); in yyparse()
4198 (yyval.interm.type).setBasic(EbtUSampler3D, qual, (yylsp[0])); in yyparse()
4208 (yyval.interm.type).setBasic(EbtUSamplerCube, qual, (yylsp[0])); in yyparse()
4218 (yyval.interm.type).setBasic(EbtUSampler2DArray, qual, (yylsp[0])); in yyparse()
4228 (yyval.interm.type).setBasic(EbtSampler2DShadow, qual, (yylsp[0])); in yyparse()
4238 (yyval.interm.type).setBasic(EbtSamplerCubeShadow, qual, (yylsp[0])); in yyparse()
4248 (yyval.interm.type).setBasic(EbtSampler2DArrayShadow, qual, (yylsp[0])); in yyparse()
4257 (yyval.interm.type) = (yyvsp[0].interm.type); in yyparse()
4258 … (yyval.interm.type).qualifier = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
4272 (yyval.interm.type).setBasic(EbtStruct, qual, (yylsp[0])); in yyparse()
4273 (yyval.interm.type).userDef = &structure; in yyparse()
4287 …(yyval.interm.type) = context->addStructure((yylsp[-5]), (yylsp[-4]), (yyvsp[-4].lex).string, (yyv… in yyparse()
4301 …(yyval.interm.type) = context->addStructure((yylsp[-4]), (yylsp[-4]), NewPoolTString(""), (yyvsp[-… in yyparse()
4309 (yyval.interm.fieldList) = (yyvsp[0].interm.fieldList); in yyparse()
4317 (yyval.interm.fieldList) = (yyvsp[-1].interm.fieldList); in yyparse()
4318 for (unsigned int i = 0; i < (yyvsp[0].interm.fieldList)->size(); ++i) { in yyparse()
4319 TField* field = (*(yyvsp[0].interm.fieldList))[i]; in yyparse()
4320 for (unsigned int j = 0; j < (yyval.interm.fieldList)->size(); ++j) { in yyparse()
4321 if ((*(yyval.interm.fieldList))[j]->name() == field->name()) { in yyparse()
4322 …context->error((*(yyvsp[0].interm.fieldList))[i]->line(), "duplicate field name in structure:", "s… in yyparse()
4326 (yyval.interm.fieldList)->push_back((*(yyvsp[0].interm.fieldList))[i]); in yyparse()
4335 …(yyval.interm.fieldList) = context->addStructDeclaratorList((yyvsp[-2].interm.type), (yyvsp[-1].in… in yyparse()
4344 (yyvsp[-2].interm.type).qualifier = (yyvsp[-3].interm.type).qualifier; in yyparse()
4345 (yyvsp[-2].interm.type).layoutQualifier = (yyvsp[-3].interm.type).layoutQualifier; in yyparse()
4346 …(yyval.interm.fieldList) = context->addStructDeclaratorList((yyvsp[-2].interm.type), (yyvsp[-1].in… in yyparse()
4354 (yyval.interm.fieldList) = NewPoolTFieldList(); in yyparse()
4355 (yyval.interm.fieldList)->push_back((yyvsp[0].interm.field)); in yyparse()
4363 (yyval.interm.fieldList)->push_back((yyvsp[0].interm.field)); in yyparse()
4375 (yyval.interm.field) = new TField(type, (yyvsp[0].lex).string, (yylsp[0])); in yyparse()
4388 …if (context->arraySizeErrorCheck((yyvsp[-1].interm.intermTypedNode)->getLine(), (yyvsp[-1].interm.… in yyparse()
4392 (yyval.interm.field) = new TField(type, (yyvsp[-3].lex).string, (yylsp[-3])); in yyparse()
4399 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
4405 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4411 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermAggregate); } in yyparse()
4417 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4423 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4429 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4435 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4441 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermSwitch); } in yyparse()
4447 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermCase); } in yyparse()
4453 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4459 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4465 { (yyval.interm.intermAggregate) = 0; } in yyparse()
4484 if ((yyvsp[-2].interm.intermAggregate) != 0) { in yyparse()
4485 (yyvsp[-2].interm.intermAggregate)->setOp(EOpSequence); in yyparse()
4486 (yyvsp[-2].interm.intermAggregate)->setEndLine((yylsp[0])); in yyparse()
4488 (yyval.interm.intermAggregate) = (yyvsp[-2].interm.intermAggregate); in yyparse()
4495 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermAggregate); } in yyparse()
4501 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4513 { context->symbolTable.pop(); (yyval.interm.intermNode) = (yyvsp[0].interm.intermAggregate); } in yyparse()
4525 { context->symbolTable.pop(); (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4532 (yyval.interm.intermAggregate) = 0; in yyparse()
4540 if ((yyvsp[-1].interm.intermAggregate)) { in yyparse()
4541 (yyvsp[-1].interm.intermAggregate)->setOp(EOpSequence); in yyparse()
4542 (yyvsp[-1].interm.intermAggregate)->setEndLine((yylsp[0])); in yyparse()
4544 (yyval.interm.intermAggregate) = (yyvsp[-1].interm.intermAggregate); in yyparse()
4552 …(yyval.interm.intermAggregate) = context->intermediate.makeAggregate((yyvsp[0].interm.intermNode),… in yyparse()
4560 …(yyval.interm.intermAggregate) = context->intermediate.growAggregate((yyvsp[-1].interm.intermAggre… in yyparse()
4567 { (yyval.interm.intermNode) = 0; } in yyparse()
4573 { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); } in yyparse()
4580 if (context->boolErrorCheck((yylsp[-4]), (yyvsp[-2].interm.intermTypedNode))) in yyparse()
4582 …(yyval.interm.intermNode) = context->intermediate.addSelection((yyvsp[-2].interm.intermTypedNode),… in yyparse()
4590 (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode); in yyparse()
4591 (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode); in yyparse()
4599 (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode); in yyparse()
4600 (yyval.interm.nodePair).node2 = 0; in yyparse()
4614 …(yyval.interm.intermSwitch) = context->addSwitch((yyvsp[-3].interm.intermTypedNode), (yyvsp[0].int… in yyparse()
4623 … (yyval.interm.intermCase) = context->addCase((yyvsp[-1].interm.intermTypedNode), (yylsp[-2])); in yyparse()
4631 (yyval.interm.intermCase) = context->addDefault((yylsp[-1])); in yyparse()
4639 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
4640 …if (context->boolErrorCheck((yyvsp[0].interm.intermTypedNode)->getLine(), (yyvsp[0].interm.intermT… in yyparse()
4650 if (context->boolErrorCheck((yylsp[-2]), (yyvsp[-3].interm.type))) in yyparse()
4653 …Initializer((yylsp[-2]), *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), (yyvsp[0].interm.interm… in yyparse()
4654 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
4657 (yyval.interm.intermTypedNode) = 0; in yyparse()
4673 …(yyval.interm.intermNode) = context->intermediate.addLoop(ELoopWhile, 0, (yyvsp[-2].interm.intermT… in yyparse()
4688 if (context->boolErrorCheck((yylsp[0]), (yyvsp[-2].interm.intermTypedNode))) in yyparse()
4691 …(yyval.interm.intermNode) = context->intermediate.addLoop(ELoopDoWhile, 0, (yyvsp[-2].interm.inter… in yyparse()
4707 …interm.intermNode) = context->intermediate.addLoop(ELoopFor, (yyvsp[-3].interm.intermNode), reinte… in yyparse()
4716 (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); in yyparse()
4724 (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); in yyparse()
4732 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
4740 (yyval.interm.intermTypedNode) = 0; in yyparse()
4748 (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermTypedNode); in yyparse()
4749 (yyval.interm.nodePair).node2 = 0; in yyparse()
4757 (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermTypedNode); in yyparse()
4758 (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode); in yyparse()
4766 (yyval.interm.intermNode) = context->addBranch(EOpContinue, (yylsp[-1])); in yyparse()
4774 (yyval.interm.intermNode) = context->addBranch(EOpBreak, (yylsp[-1])); in yyparse()
4782 (yyval.interm.intermNode) = context->addBranch(EOpReturn, (yylsp[-1])); in yyparse()
4790 …(yyval.interm.intermNode) = context->addBranch(EOpReturn, (yyvsp[-1].interm.intermTypedNode), (yyl… in yyparse()
4799 (yyval.interm.intermNode) = context->addBranch(EOpKill, (yylsp[-1])); in yyparse()
4807 (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); in yyparse()
4808 context->setTreeRoot((yyval.interm.intermNode)); in yyparse()
4816 …(yyval.interm.intermNode) = context->intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yy… in yyparse()
4817 context->setTreeRoot((yyval.interm.intermNode)); in yyparse()
4825 (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); in yyparse()
4833 (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); in yyparse()
4841 …context->parseFunctionPrototype((yylsp[0]), (yyvsp[0].interm).function, &(yyvsp[0].interm).intermA… in yyparse()
4849 …(yyval.interm.intermNode) = context->addFunctionDefinition(*((yyvsp[-2].interm).function), (yyvsp[… in yyparse()