Lines Matching refs:interm
307 } interm; member
2382 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(constArray, t, (yylsp[0])); in yyparse()
2384 … (yyval.interm.intermTypedNode) = context->intermediate.addSymbol(variable->getUniqueId(), in yyparse()
2394 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2404 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, … in yyparse()
2414 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtUInt,… in yyparse()
2424 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat… in yyparse()
2434 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool,… in yyparse()
2442 (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode); in yyparse()
2450 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2458 …(yyval.interm.intermTypedNode) = context->addIndexExpression((yyvsp[-3].interm.intermTypedNode), (… in yyparse()
2466 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2474 …(yyval.interm.intermTypedNode) = context->addFieldSelectionExpression((yyvsp[-2].interm.intermType… in yyparse()
2482 …(yyval.interm.intermTypedNode) = context->addUnaryMathLValue(EOpPostIncrement, (yyvsp[-1].interm.i… in yyparse()
2490 …(yyval.interm.intermTypedNode) = context->addUnaryMathLValue(EOpPostDecrement, (yyvsp[-1].interm.i… in yyparse()
2498 if (context->integerErrorCheck((yyvsp[0].interm.intermTypedNode), "[]")) in yyparse()
2500 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2509 …(yyval.interm.intermTypedNode) = context->addFunctionCallOrMethod((yyvsp[0].interm).function, (yyv… in yyparse()
2521 (yyval.interm) = (yyvsp[0].interm); in yyparse()
2522 (yyval.interm).nodePair.node2 = nullptr; in yyparse()
2531 (yyval.interm) = (yyvsp[0].interm); in yyparse()
2532 (yyval.interm).nodePair.node2 = (yyvsp[-2].interm.intermTypedNode); in yyparse()
2540 (yyval.interm) = (yyvsp[-1].interm); in yyparse()
2548 (yyval.interm) = (yyvsp[-1].interm); in yyparse()
2556 (yyval.interm).function = (yyvsp[-1].interm.function); in yyparse()
2557 (yyval.interm).nodePair.node1 = nullptr; in yyparse()
2565 (yyval.interm).function = (yyvsp[0].interm.function); in yyparse()
2566 (yyval.interm).nodePair.node1 = nullptr; in yyparse()
2574 TParameter param = { 0, new TType((yyvsp[0].interm.intermTypedNode)->getType()) }; in yyparse()
2575 (yyvsp[-1].interm.function)->addParameter(param); in yyparse()
2576 (yyval.interm).function = (yyvsp[-1].interm.function); in yyparse()
2577 …(yyval.interm).nodePair.node1 = context->intermediate.makeAggregate((yyvsp[0].interm.intermTypedNo… in yyparse()
2585 TParameter param = { 0, new TType((yyvsp[0].interm.intermTypedNode)->getType()) }; in yyparse()
2586 (yyvsp[-2].interm).function->addParameter(param); in yyparse()
2587 (yyval.interm).function = (yyvsp[-2].interm).function; in yyparse()
2588 …(yyval.interm).nodePair.node1 = context->intermediate.growAggregate((yyvsp[-2].interm).intermNode,… in yyparse()
2596 (yyval.interm.function) = (yyvsp[-1].interm.function); in yyparse()
2604 if ((yyvsp[0].interm.type).array) { in yyparse()
2607 (yyval.interm.function) = context->addConstructorFunc((yyvsp[0].interm.type)); in yyparse()
2619 (yyval.interm.function) = function; in yyparse()
2631 (yyval.interm.function) = function; in yyparse()
2639 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2647 …(yyval.interm.intermTypedNode) = context->addUnaryMathLValue(EOpPreIncrement, (yyvsp[0].interm.int… in yyparse()
2655 …(yyval.interm.intermTypedNode) = context->addUnaryMathLValue(EOpPreDecrement, (yyvsp[0].interm.int… in yyparse()
2663 if ((yyvsp[-1].interm).op != EOpNull) { in yyparse()
2664 …(yyval.interm.intermTypedNode) = context->addUnaryMath((yyvsp[-1].interm).op, (yyvsp[0].interm.int… in yyparse()
2666 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
2673 { (yyval.interm).op = EOpNull; } in yyparse()
2679 { (yyval.interm).op = EOpNegative; } in yyparse()
2685 { (yyval.interm).op = EOpLogicalNot; } in yyparse()
2693 (yyval.interm).op = EOpBitwiseNot; in yyparse()
2700 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2708 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpMul, (yyvsp[-2].interm.intermTypedNode)… in yyparse()
2717 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpDiv, (yyvsp[-2].interm.intermTypedNode)… in yyparse()
2727 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpIMod, (yyvsp[-2].interm.intermTypedNode… in yyparse()
2734 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2741 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpAdd, (yyvsp[-2].interm.intermTypedNode)… in yyparse()
2749 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpSub, (yyvsp[-2].interm.intermTypedNode)… in yyparse()
2756 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2764 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpBitShiftLeft, (yyvsp[-2].interm.intermT… in yyparse()
2773 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpBitShiftRight, (yyvsp[-2].interm.interm… in yyparse()
2780 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2787 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpLessThan, (yyvsp[-2].inter… in yyparse()
2795 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpGreaterThan, (yyvsp[-2].in… in yyparse()
2803 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpLessThanEqual, (yyvsp[-2].… in yyparse()
2811 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpGreaterThanEqual, (yyvsp[-… in yyparse()
2818 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2825 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpEqual, (yyvsp[-2].interm.i… in yyparse()
2833 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpNotEqual, (yyvsp[-2].inter… in yyparse()
2840 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2848 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpBitwiseAnd, (yyvsp[-2].interm.intermTyp… in yyparse()
2855 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2863 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpBitwiseXor, (yyvsp[-2].interm.intermTyp… in yyparse()
2870 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2878 …(yyval.interm.intermTypedNode) = context->addBinaryMath(EOpBitwiseOr, (yyvsp[-2].interm.intermType… in yyparse()
2885 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2892 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpLogicalAnd, (yyvsp[-2].int… in yyparse()
2899 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2906 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpLogicalXor, (yyvsp[-2].int… in yyparse()
2913 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2920 …(yyval.interm.intermTypedNode) = context->addBinaryMathBooleanResult(EOpLogicalOr, (yyvsp[-2].inte… in yyparse()
2927 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2934 …yval.interm.intermTypedNode) = context->addTernarySelection((yyvsp[-4].interm.intermTypedNode), (y… in yyparse()
2941 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
2948 if (context->lValueErrorCheck((yylsp[-1]), "assign", (yyvsp[-2].interm.intermTypedNode))) in yyparse()
2950 …(yyval.interm.intermTypedNode) = context->addAssign((yyvsp[-1].interm).op, (yyvsp[-2].interm.inter… in yyparse()
2957 { (yyval.interm).op = EOpAssign; } in yyparse()
2963 { FRAG_VERT_ONLY("*=", (yylsp[0])); (yyval.interm).op = EOpMulAssign; } in yyparse()
2969 { FRAG_VERT_ONLY("/=", (yylsp[0])); (yyval.interm).op = EOpDivAssign; } in yyparse()
2976 FRAG_VERT_ONLY("%=", (yylsp[0])); (yyval.interm).op = EOpIModAssign; } in yyparse()
2982 { (yyval.interm).op = EOpAddAssign; } in yyparse()
2988 { (yyval.interm).op = EOpSubAssign; } in yyparse()
2996 (yyval.interm).op = EOpBitShiftLeftAssign; } in yyparse()
3004 (yyval.interm).op = EOpBitShiftRightAssign; } in yyparse()
3012 (yyval.interm).op = EOpBitwiseAndAssign; } in yyparse()
3020 (yyval.interm).op = EOpBitwiseXorAssign; } in yyparse()
3028 (yyval.interm).op = EOpBitwiseOrAssign; } in yyparse()
3035 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
3043 …(yyval.interm.intermTypedNode) = context->intermediate.addComma((yyvsp[-2].interm.intermTypedNode)… in yyparse()
3044 if ((yyval.interm.intermTypedNode) == 0) { in yyparse()
3045 …->binaryOpError((yylsp[-1]), ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(), (yyvsp[… in yyparse()
3047 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
3056 if (context->constErrorCheck((yyvsp[0].interm.intermTypedNode))) in yyparse()
3058 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
3076 …(yyval.interm.intermNode) = context->addFunctionPrototypeDeclaration(*((yyvsp[-1].interm).function… in yyparse()
3084 TIntermAggregate *aggNode = (yyvsp[-1].interm).intermAggregate; in yyparse()
3087 (yyval.interm.intermNode) = aggNode; in yyparse()
3095 …if (!context->symbolTable.setDefaultPrecision( (yyvsp[-1].interm.type), (yyvsp[-2].interm.precisio… in yyparse()
3096 …egal type argument for default precision qualifier", getBasicString((yyvsp[-1].interm.type).type)); in yyparse()
3099 (yyval.interm.intermNode) = 0; in yyparse()
3107 … ES3_ONLY(getQualifierString((yyvsp[-4].interm.type).qualifier), (yylsp[-4]), "interface blocks"); in yyparse()
3108 …(yyval.interm.intermNode) = context->addInterfaceBlock((yyvsp[-4].interm.type), (yylsp[-3]), *(yyv… in yyparse()
3116 … ES3_ONLY(getQualifierString((yyvsp[-5].interm.type).qualifier), (yylsp[-5]), "interface blocks"); in yyparse()
3117 …(yyval.interm.intermNode) = context->addInterfaceBlock((yyvsp[-5].interm.type), (yylsp[-4]), *(yyv… in yyparse()
3125 … ES3_ONLY(getQualifierString((yyvsp[-8].interm.type).qualifier), (yylsp[-8]), "interface blocks"); in yyparse()
3126 …interm.intermNode) = context->addInterfaceBlock((yyvsp[-8].interm.type), (yylsp[-7]), *(yyvsp[-7].… in yyparse()
3134 context->parseGlobalLayoutQualifier((yyvsp[-1].interm.type)); in yyparse()
3135 (yyval.interm.intermNode) = 0; in yyparse()
3143 …(yyval.interm).function = context->parseFunctionDeclarator((yylsp[0]), (yyvsp[-1].interm.function)… in yyparse()
3151 (yyval.interm.function) = (yyvsp[0].interm.function); in yyparse()
3159 (yyval.interm.function) = (yyvsp[0].interm.function); in yyparse()
3168 (yyval.interm.function) = (yyvsp[-1].interm.function); in yyparse()
3169 if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid) in yyparse()
3170 (yyvsp[-1].interm.function)->addParameter((yyvsp[0].interm).param); in yyparse()
3172 delete (yyvsp[0].interm).param.type; in yyparse()
3184 if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) { in yyparse()
3190 delete (yyvsp[0].interm).param.type; in yyparse()
3193 (yyval.interm.function) = (yyvsp[-2].interm.function); in yyparse()
3194 (yyvsp[-2].interm.function)->addParameter((yyvsp[0].interm).param); in yyparse()
3203 …if ((yyvsp[-2].interm.type).qualifier != EvqGlobal && (yyvsp[-2].interm.type).qualifier != EvqTemp… in yyparse()
3204 …no qualifiers allowed for function return", getQualifierString((yyvsp[-2].interm.type).qualifier)); in yyparse()
3207 if (!(yyvsp[-2].interm.type).layoutQualifier.isEmpty()) in yyparse()
3213 …if (context->samplerErrorCheck((yylsp[-1]), (yyvsp[-2].interm.type), "samplers can't be function r… in yyparse()
3218 TType type((yyvsp[-2].interm.type)); in yyparse()
3220 (yyval.interm.function) = function; in yyparse()
3230 if ((yyvsp[-1].interm.type).type == EbtVoid) { in yyparse()
3236 TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type))}; in yyparse()
3237 (yyval.interm).param = param; in yyparse()
3246 if (context->arrayTypeErrorCheck((yylsp[-2]), (yyvsp[-4].interm.type))) in yyparse()
3253 if (context->arraySizeErrorCheck((yylsp[-2]), (yyvsp[-1].interm.intermTypedNode), size)) in yyparse()
3255 (yyvsp[-4].interm.type).setArray(true, size); in yyparse()
3257 TType* type = new TType((yyvsp[-4].interm.type)); in yyparse()
3259 (yyval.interm).param = param; in yyparse()
3267 (yyval.interm) = (yyvsp[0].interm); in yyparse()
3268 …text->paramErrorCheck((yylsp[0]), (yyvsp[-2].interm.qualifier), (yyvsp[-1].interm.qualifier), (yyv… in yyparse()
3277 (yyval.interm) = (yyvsp[0].interm); in yyparse()
3278 …ontext->parameterSamplerErrorCheck((yylsp[0]), (yyvsp[-1].interm.qualifier), *(yyvsp[0].interm).pa… in yyparse()
3280 …ntext->paramErrorCheck((yylsp[0]), EvqTemporary, (yyvsp[-1].interm.qualifier), (yyval.interm).para… in yyparse()
3289 (yyval.interm) = (yyvsp[0].interm); in yyparse()
3290 …text->paramErrorCheck((yylsp[0]), (yyvsp[-2].interm.qualifier), (yyvsp[-1].interm.qualifier), (yyv… in yyparse()
3299 (yyval.interm) = (yyvsp[0].interm); in yyparse()
3300 …ontext->parameterSamplerErrorCheck((yylsp[0]), (yyvsp[-1].interm.qualifier), *(yyvsp[0].interm).pa… in yyparse()
3302 …ntext->paramErrorCheck((yylsp[0]), EvqTemporary, (yyvsp[-1].interm.qualifier), (yyval.interm).para… in yyparse()
3311 (yyval.interm.qualifier) = EvqIn; in yyparse()
3319 (yyval.interm.qualifier) = EvqIn; in yyparse()
3327 (yyval.interm.qualifier) = EvqOut; in yyparse()
3335 (yyval.interm.qualifier) = EvqInOut; in yyparse()
3343 TParameter param = { 0, new TType((yyvsp[0].interm.type)) }; in yyparse()
3344 (yyval.interm).param = param; in yyparse()
3352 (yyval.interm) = (yyvsp[0].interm); in yyparse()
3360 (yyval.interm) = (yyvsp[-2].interm); in yyparse()
3361 …(yyval.interm).intermAggregate = context->parseDeclarator((yyval.interm).type, (yyvsp[-2].interm).… in yyparse()
3369 (yyval.interm) = (yyvsp[-5].interm); in yyparse()
3370 …interm).intermAggregate = context->parseArrayDeclarator((yyval.interm).type, (yyvsp[-5].interm).in… in yyparse()
3379 (yyval.interm) = (yyvsp[-6].interm); in yyparse()
3380 …interm).intermAggregate = context->parseArrayInitDeclarator((yyval.interm).type, (yyvsp[-6].interm… in yyparse()
3389 (yyval.interm) = (yyvsp[-7].interm); in yyparse()
3390 …interm).intermAggregate = context->parseArrayInitDeclarator((yyval.interm).type, (yyvsp[-7].interm… in yyparse()
3398 (yyval.interm) = (yyvsp[-4].interm); in yyparse()
3399 …interm).intermAggregate = context->parseInitDeclarator((yyval.interm).type, (yyvsp[-4].interm).int… in yyparse()
3407 (yyval.interm).type = (yyvsp[0].interm.type); in yyparse()
3408 …(yyval.interm).intermAggregate = context->parseSingleDeclaration((yyval.interm).type, (yylsp[0]), … in yyparse()
3416 (yyval.interm).type = (yyvsp[-1].interm.type); in yyparse()
3417 …(yyval.interm).intermAggregate = context->parseSingleDeclaration((yyval.interm).type, (yylsp[0]), … in yyparse()
3425 (yyval.interm).type = (yyvsp[-4].interm.type); in yyparse()
3426 …interm).intermAggregate = context->parseSingleArrayDeclaration((yyval.interm).type, (yylsp[-3]), *… in yyparse()
3435 (yyval.interm).type = (yyvsp[-5].interm.type); in yyparse()
3436 …interm).intermAggregate = context->parseSingleArrayInitDeclaration((yyval.interm).type, (yylsp[-4]… in yyparse()
3445 (yyval.interm).type = (yyvsp[-6].interm.type); in yyparse()
3446 …interm).intermAggregate = context->parseSingleArrayInitDeclaration((yyval.interm).type, (yylsp[-5]… in yyparse()
3454 (yyval.interm).type = (yyvsp[-3].interm.type); in yyparse()
3455 ….interm).intermAggregate = context->parseSingleInitDeclaration((yyval.interm).type, (yylsp[-2]), *… in yyparse()
3464 …(yyval.interm).intermAggregate = context->parseInvariantDeclaration((yylsp[-1]), (yylsp[0]), (yyvs… in yyparse()
3472 (yyval.interm.type) = (yyvsp[0].interm.type); in yyparse()
3474 if ((yyvsp[0].interm.type).array) { in yyparse()
3477 (yyvsp[0].interm.type).clearArrayness(); in yyparse()
3487 …interm.type) = context->addFullySpecifiedType((yyvsp[-1].interm.type).qualifier, (yyvsp[-1].interm… in yyparse()
3495 (yyval.interm.type).qualifier = EvqSmooth; in yyparse()
3503 (yyval.interm.type).qualifier = EvqFlat; in yyparse()
3511 (yyval.interm.qualifier) = EvqConstReadOnly; in yyparse()
3523 (yyval.interm.type).setBasic(EbtVoid, EvqAttribute, (yylsp[0])); in yyparse()
3535 (yyval.interm.type).setBasic(EbtVoid, EvqVaryingOut, (yylsp[0])); in yyparse()
3537 (yyval.interm.type).setBasic(EbtVoid, EvqVaryingIn, (yylsp[0])); in yyparse()
3549 (yyval.interm.type).setBasic(EbtVoid, EvqInvariantVaryingOut, (yylsp[-1])); in yyparse()
3551 (yyval.interm.type).setBasic(EbtVoid, EvqInvariantVaryingIn, (yylsp[-1])); in yyparse()
3559 … if ((yyvsp[0].interm.type).qualifier != EvqConstExpr && !context->symbolTable.atGlobalLevel()) in yyparse()
3561 … can only use the const storage qualifier.", getQualifierString((yyvsp[0].interm.type).qualifier)); in yyparse()
3564 (yyval.interm.type).setBasic(EbtVoid, (yyvsp[0].interm.type).qualifier, (yylsp[0])); in yyparse()
3572 …(yyval.interm.type) = context->joinInterpolationQualifiers((yylsp[-1]), (yyvsp[-1].interm.type).qu… in yyparse()
3580 …ent 'in' or vertex 'out' storage qualifier", getQualifierString((yyvsp[0].interm.type).qualifier)); in yyparse()
3584 (yyval.interm.type).setBasic(EbtVoid, qual, (yylsp[0])); in yyparse()
3592 … (yyval.interm.type).qualifier = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3593 (yyval.interm.type).layoutQualifier = (yyvsp[0].interm.layoutQualifier); in yyparse()
3601 (yyval.interm.type).setBasic(EbtVoid, (yyvsp[0].interm.type).qualifier, (yylsp[0])); in yyparse()
3602 (yyval.interm.type).layoutQualifier = (yyvsp[-1].interm.layoutQualifier); in yyparse()
3610 context->es3InvariantErrorCheck((yyvsp[0].interm.type).qualifier, (yylsp[-1])); in yyparse()
3611 (yyval.interm.type).setBasic(EbtVoid, (yyvsp[0].interm.type).qualifier, (yylsp[0])); in yyparse()
3612 (yyval.interm.type).invariant = true; in yyparse()
3620 context->es3InvariantErrorCheck((yyvsp[0].interm.type).qualifier, (yylsp[-2])); in yyparse()
3621 …(yyval.interm.type) = context->joinInterpolationQualifiers((yylsp[-1]), (yyvsp[-1].interm.type).qu… in yyparse()
3622 (yyval.interm.type).invariant = true; in yyparse()
3630 (yyval.interm.type).qualifier = EvqConstExpr; in yyparse()
3639 …(yyval.interm.type).qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqFragmentIn :… in yyparse()
3648 …(yyval.interm.type).qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqFragmentOut … in yyparse()
3662 …(yyval.interm.type).qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqCentroidIn :… in yyparse()
3676 …(yyval.interm.type).qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqFragmentOut … in yyparse()
3686 (yyval.interm.type).qualifier = EvqUniform; in yyparse()
3694 (yyval.interm.type) = (yyvsp[0].interm.type); in yyparse()
3696 if ((yyval.interm.type).precision == EbpUndefined) { in yyparse()
3697 …(yyval.interm.type).precision = context->symbolTable.getDefaultPrecision((yyvsp[0].interm.type).ty… in yyparse()
3698 …if (context->precisionErrorCheck((yylsp[0]), (yyval.interm.type).precision, (yyvsp[0].interm.type)… in yyparse()
3709 (yyval.interm.type) = (yyvsp[0].interm.type); in yyparse()
3710 (yyval.interm.type).precision = (yyvsp[-1].interm.precision); in yyparse()
3712 if (!SupportsPrecision((yyvsp[0].interm.type).type)) { in yyparse()
3713 …((yylsp[-1]), "illegal type for precision qualifier", getBasicString((yyvsp[0].interm.type).type)); in yyparse()
3723 (yyval.interm.precision) = EbpHigh; in yyparse()
3731 (yyval.interm.precision) = EbpMedium; in yyparse()
3739 (yyval.interm.precision) = EbpLow; in yyparse()
3748 (yyval.interm.layoutQualifier) = (yyvsp[-1].interm.layoutQualifier); in yyparse()
3756 (yyval.interm.layoutQualifier) = (yyvsp[0].interm.layoutQualifier); in yyparse()
3764 …(yyval.interm.layoutQualifier) = context->joinLayoutQualifiers((yyvsp[-2].interm.layoutQualifier),… in yyparse()
3772 …(yyval.interm.layoutQualifier) = context->parseLayoutQualifier(*(yyvsp[0].lex).string, (yylsp[0])); in yyparse()
3780 …(yyval.interm.layoutQualifier) = context->parseLayoutQualifier(*(yyvsp[-2].lex).string, (yylsp[-2]… in yyparse()
3788 …(yyval.interm.layoutQualifier) = context->parseLayoutQualifier(*(yyvsp[-2].lex).string, (yylsp[-2]… in yyparse()
3796 (yyval.interm.type) = (yyvsp[0].interm.type); in yyparse()
3805 (yyval.interm.type) = (yyvsp[-2].interm.type); in yyparse()
3806 (yyval.interm.type).setArray(true, 0); in yyparse()
3814 (yyval.interm.type) = (yyvsp[-3].interm.type); in yyparse()
3816 if (context->arrayTypeErrorCheck((yylsp[-2]), (yyvsp[-3].interm.type))) in yyparse()
3820 if (context->arraySizeErrorCheck((yylsp[-2]), (yyvsp[-1].interm.intermTypedNode), size)) in yyparse()
3822 (yyval.interm.type).setArray(true, size); in yyparse()
3832 (yyval.interm.type).setBasic(EbtVoid, qual, (yylsp[0])); in yyparse()
3841 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
3850 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse()
3859 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse()
3868 (yyval.interm.type).setBasic(EbtBool, qual, (yylsp[0])); in yyparse()
3877 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
3878 (yyval.interm.type).setAggregate(2); in yyparse()
3887 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
3888 (yyval.interm.type).setAggregate(3); in yyparse()
3897 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
3898 (yyval.interm.type).setAggregate(4); in yyparse()
3907 (yyval.interm.type).setBasic(EbtBool, qual, (yylsp[0])); in yyparse()
3908 (yyval.interm.type).setAggregate(2); in yyparse()
3917 (yyval.interm.type).setBasic(EbtBool, qual, (yylsp[0])); in yyparse()
3918 (yyval.interm.type).setAggregate(3); in yyparse()
3927 (yyval.interm.type).setBasic(EbtBool, qual, (yylsp[0])); in yyparse()
3928 (yyval.interm.type).setAggregate(4); in yyparse()
3937 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse()
3938 (yyval.interm.type).setAggregate(2); in yyparse()
3947 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse()
3948 (yyval.interm.type).setAggregate(3); in yyparse()
3957 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse()
3958 (yyval.interm.type).setAggregate(4); in yyparse()
3967 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse()
3968 (yyval.interm.type).setAggregate(2); in yyparse()
3977 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse()
3978 (yyval.interm.type).setAggregate(3); in yyparse()
3987 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse()
3988 (yyval.interm.type).setAggregate(4); in yyparse()
3998 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
3999 (yyval.interm.type).setMatrix(2, 2); in yyparse()
4009 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4010 (yyval.interm.type).setMatrix(3, 3); in yyparse()
4020 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4021 (yyval.interm.type).setMatrix(4, 4); in yyparse()
4031 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4032 (yyval.interm.type).setMatrix(2, 3); in yyparse()
4042 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4043 (yyval.interm.type).setMatrix(3, 2); in yyparse()
4053 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4054 (yyval.interm.type).setMatrix(2, 4); in yyparse()
4064 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4065 (yyval.interm.type).setMatrix(4, 2); in yyparse()
4075 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4076 (yyval.interm.type).setMatrix(3, 4); in yyparse()
4086 (yyval.interm.type).setBasic(EbtFloat, qual, (yylsp[0])); in yyparse()
4087 (yyval.interm.type).setMatrix(4, 3); in yyparse()
4097 (yyval.interm.type).setBasic(EbtSampler2D, qual, (yylsp[0])); in yyparse()
4107 (yyval.interm.type).setBasic(EbtSamplerCube, qual, (yylsp[0])); in yyparse()
4121 (yyval.interm.type).setBasic(EbtSamplerExternalOES, qual, (yylsp[0])); in yyparse()
4135 (yyval.interm.type).setBasic(EbtSampler2DRect, qual, (yylsp[0])); in yyparse()
4145 (yyval.interm.type).setBasic(EbtSampler3D, qual, (yylsp[0])); in yyparse()
4155 (yyval.interm.type).setBasic(EbtSampler2DArray, qual, (yylsp[0])); in yyparse()
4165 (yyval.interm.type).setBasic(EbtISampler2D, qual, (yylsp[0])); in yyparse()
4175 (yyval.interm.type).setBasic(EbtISampler3D, qual, (yylsp[0])); in yyparse()
4185 (yyval.interm.type).setBasic(EbtISamplerCube, qual, (yylsp[0])); in yyparse()
4195 (yyval.interm.type).setBasic(EbtISampler2DArray, qual, (yylsp[0])); in yyparse()
4205 (yyval.interm.type).setBasic(EbtUSampler2D, qual, (yylsp[0])); in yyparse()
4215 (yyval.interm.type).setBasic(EbtUSampler3D, qual, (yylsp[0])); in yyparse()
4225 (yyval.interm.type).setBasic(EbtUSamplerCube, qual, (yylsp[0])); in yyparse()
4235 (yyval.interm.type).setBasic(EbtUSampler2DArray, qual, (yylsp[0])); in yyparse()
4245 (yyval.interm.type).setBasic(EbtSampler2DShadow, qual, (yylsp[0])); in yyparse()
4255 (yyval.interm.type).setBasic(EbtSamplerCubeShadow, qual, (yylsp[0])); in yyparse()
4265 (yyval.interm.type).setBasic(EbtSampler2DArrayShadow, qual, (yylsp[0])); in yyparse()
4274 (yyval.interm.type) = (yyvsp[0].interm.type); in yyparse()
4275 … (yyval.interm.type).qualifier = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
4289 (yyval.interm.type).setBasic(EbtStruct, qual, (yylsp[0])); in yyparse()
4290 (yyval.interm.type).userDef = &structure; in yyparse()
4304 …(yyval.interm.type) = context->addStructure((yylsp[-5]), (yylsp[-4]), (yyvsp[-4].lex).string, (yyv… in yyparse()
4318 …(yyval.interm.type) = context->addStructure((yylsp[-4]), (yylsp[-4]), NewPoolTString(""), (yyvsp[-… in yyparse()
4326 (yyval.interm.fieldList) = (yyvsp[0].interm.fieldList); in yyparse()
4334 (yyval.interm.fieldList) = (yyvsp[-1].interm.fieldList); in yyparse()
4335 for (unsigned int i = 0; i < (yyvsp[0].interm.fieldList)->size(); ++i) { in yyparse()
4336 TField* field = (*(yyvsp[0].interm.fieldList))[i]; in yyparse()
4337 for (unsigned int j = 0; j < (yyval.interm.fieldList)->size(); ++j) { in yyparse()
4338 if ((*(yyval.interm.fieldList))[j]->name() == field->name()) { in yyparse()
4339 …context->error((*(yyvsp[0].interm.fieldList))[i]->line(), "duplicate field name in structure:", "s… in yyparse()
4343 (yyval.interm.fieldList)->push_back((*(yyvsp[0].interm.fieldList))[i]); in yyparse()
4352 …(yyval.interm.fieldList) = context->addStructDeclaratorList((yyvsp[-2].interm.type), (yyvsp[-1].in… in yyparse()
4361 (yyvsp[-2].interm.type).qualifier = (yyvsp[-3].interm.type).qualifier; in yyparse()
4362 (yyvsp[-2].interm.type).layoutQualifier = (yyvsp[-3].interm.type).layoutQualifier; in yyparse()
4363 …(yyval.interm.fieldList) = context->addStructDeclaratorList((yyvsp[-2].interm.type), (yyvsp[-1].in… in yyparse()
4371 (yyval.interm.fieldList) = NewPoolTFieldList(); in yyparse()
4372 (yyval.interm.fieldList)->push_back((yyvsp[0].interm.field)); in yyparse()
4380 (yyval.interm.fieldList)->push_back((yyvsp[0].interm.field)); in yyparse()
4392 (yyval.interm.field) = new TField(type, (yyvsp[0].lex).string, (yylsp[0])); in yyparse()
4405 …if (context->arraySizeErrorCheck((yyvsp[-1].interm.intermTypedNode)->getLine(), (yyvsp[-1].interm.… in yyparse()
4409 (yyval.interm.field) = new TField(type, (yyvsp[-3].lex).string, (yylsp[-3])); in yyparse()
4416 { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); } in yyparse()
4422 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4428 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermAggregate); } in yyparse()
4434 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4440 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4446 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4452 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4458 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermSwitch); } in yyparse()
4464 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermCase); } in yyparse()
4470 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4476 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4482 { (yyval.interm.intermAggregate) = 0; } in yyparse()
4501 if ((yyvsp[-2].interm.intermAggregate) != 0) { in yyparse()
4502 (yyvsp[-2].interm.intermAggregate)->setOp(EOpSequence); in yyparse()
4503 (yyvsp[-2].interm.intermAggregate)->setEndLine((yylsp[0])); in yyparse()
4505 (yyval.interm.intermAggregate) = (yyvsp[-2].interm.intermAggregate); in yyparse()
4512 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermAggregate); } in yyparse()
4518 { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4530 { context->symbolTable.pop(); (yyval.interm.intermNode) = (yyvsp[0].interm.intermAggregate); } in yyparse()
4542 { context->symbolTable.pop(); (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } in yyparse()
4549 (yyval.interm.intermAggregate) = 0; in yyparse()
4557 if ((yyvsp[-1].interm.intermAggregate)) { in yyparse()
4558 (yyvsp[-1].interm.intermAggregate)->setOp(EOpSequence); in yyparse()
4559 (yyvsp[-1].interm.intermAggregate)->setEndLine((yylsp[0])); in yyparse()
4561 (yyval.interm.intermAggregate) = (yyvsp[-1].interm.intermAggregate); in yyparse()
4569 …(yyval.interm.intermAggregate) = context->intermediate.makeAggregate((yyvsp[0].interm.intermNode),… in yyparse()
4577 …(yyval.interm.intermAggregate) = context->intermediate.growAggregate((yyvsp[-1].interm.intermAggre… in yyparse()
4584 { (yyval.interm.intermNode) = 0; } in yyparse()
4590 { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); } in yyparse()
4597 if (context->boolErrorCheck((yylsp[-4]), (yyvsp[-2].interm.intermTypedNode))) in yyparse()
4599 …(yyval.interm.intermNode) = context->intermediate.addSelection((yyvsp[-2].interm.intermTypedNode),… in yyparse()
4607 (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode); in yyparse()
4608 (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode); in yyparse()
4616 (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode); in yyparse()
4617 (yyval.interm.nodePair).node2 = 0; in yyparse()
4631 …(yyval.interm.intermSwitch) = context->addSwitch((yyvsp[-3].interm.intermTypedNode), (yyvsp[0].int… in yyparse()
4640 … (yyval.interm.intermCase) = context->addCase((yyvsp[-1].interm.intermTypedNode), (yylsp[-2])); in yyparse()
4648 (yyval.interm.intermCase) = context->addDefault((yylsp[-1])); in yyparse()
4656 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
4657 …if (context->boolErrorCheck((yyvsp[0].interm.intermTypedNode)->getLine(), (yyvsp[0].interm.intermT… in yyparse()
4667 if (context->boolErrorCheck((yylsp[-2]), (yyvsp[-3].interm.type))) in yyparse()
4670 …Initializer((yylsp[-2]), *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), (yyvsp[0].interm.interm… in yyparse()
4671 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
4674 (yyval.interm.intermTypedNode) = 0; in yyparse()
4690 …(yyval.interm.intermNode) = context->intermediate.addLoop(ELoopWhile, 0, (yyvsp[-2].interm.intermT… in yyparse()
4705 if (context->boolErrorCheck((yylsp[0]), (yyvsp[-2].interm.intermTypedNode))) in yyparse()
4708 …(yyval.interm.intermNode) = context->intermediate.addLoop(ELoopDoWhile, 0, (yyvsp[-2].interm.inter… in yyparse()
4724 …interm.intermNode) = context->intermediate.addLoop(ELoopFor, (yyvsp[-3].interm.intermNode), reinte… in yyparse()
4733 (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); in yyparse()
4741 (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); in yyparse()
4749 (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); in yyparse()
4757 (yyval.interm.intermTypedNode) = 0; in yyparse()
4765 (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermTypedNode); in yyparse()
4766 (yyval.interm.nodePair).node2 = 0; in yyparse()
4774 (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermTypedNode); in yyparse()
4775 (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode); in yyparse()
4783 (yyval.interm.intermNode) = context->addBranch(EOpContinue, (yylsp[-1])); in yyparse()
4791 (yyval.interm.intermNode) = context->addBranch(EOpBreak, (yylsp[-1])); in yyparse()
4799 (yyval.interm.intermNode) = context->addBranch(EOpReturn, (yylsp[-1])); in yyparse()
4807 …(yyval.interm.intermNode) = context->addBranch(EOpReturn, (yyvsp[-1].interm.intermTypedNode), (yyl… in yyparse()
4816 (yyval.interm.intermNode) = context->addBranch(EOpKill, (yylsp[-1])); in yyparse()
4824 (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); in yyparse()
4825 context->setTreeRoot((yyval.interm.intermNode)); in yyparse()
4833 …(yyval.interm.intermNode) = context->intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yy… in yyparse()
4834 context->setTreeRoot((yyval.interm.intermNode)); in yyparse()
4842 (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); in yyparse()
4850 (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); in yyparse()
4858 …context->parseFunctionPrototype((yylsp[0]), (yyvsp[0].interm).function, &(yyvsp[0].interm).intermA… in yyparse()
4866 …(yyval.interm.intermNode) = context->addFunctionDefinition(*((yyvsp[-2].interm).function), (yyvsp[… in yyparse()