Home
last modified time | relevance | path

Searched refs:EbtInt (Results 1 – 13 of 13) sorted by relevance

/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DConstantUnion.h16 void setIConst(int i) {iConst = i; type = EbtInt; } in POOL_ALLOCATOR_NEW_DELETE()
57 case EbtInt:
101 case EbtInt:
123 case EbtInt:
146 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break;
159 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break;
172 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break;
185 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break;
197 case EbtInt: returnValue.setIConst(iConst >> constant.iConst); break;
209 case EbtInt: returnValue.setIConst(iConst << constant.iConst); break;
[all …]
DBaseTypes.h40 EbtInt, enumerator
56 case EbtInt: return "int"; break; in getBasicString()
DIntermediate.cpp315 case EOpConstructInt: newType = EbtInt; break; in addUnaryMath()
461 promoteTo = EbtInt; in addConversion()
490 case EbtInt: newOp = EOpConvIntToFloat; break; in addConversion()
499 case EbtInt: newOp = EOpConvIntToBool; break; in addConversion()
506 case EbtInt: in addConversion()
691 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConst), line); in addSwizzle()
1168 case EbtInt: in fold()
1352 … case EbtInt: tempConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold()
1390 case EbtInt: in promoteConstantUnion()
1404 case EbtInt: in promoteConstantUnion()
[all …]
DOutputGLSL.cpp25 case EbtInt: out << "ivec"; break; in getTypeName()
184 case EbtInt: out << pConstUnion->getIConst(); break; in writeConstantUnion()
258 ASSERT(element->getBasicType() == EbtInt); in visitBinary()
261 ASSERT(data.getType() == EbtInt); in visitBinary()
Dglslang.y202 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConst), $1.…
325 …mTyped* index = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, Evq…
350 …mTyped* index = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, Evq…
356 …mTyped* index = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, Evq…
626 case EbtInt:
1444 ($2.type == EbtBool || $2.type == EbtInt)) {
1449 ($2.type == EbtBool || $2.type == EbtInt)) {
1542 $$.setBasic(EbtInt, qual, $1.line);
1585 $$.setBasic(EbtInt, qual, $1.line);
1590 $$.setBasic(EbtInt, qual, $1.line);
[all …]
DSymbolTable.h316 if( type != EbtFloat && type != EbtInt ) return; // Only set default precision for int/float in setDefaultPrecision()
323 if( type != EbtFloat && type != EbtInt ) return EbpUndefined; in getDefaultPrecision()
DValidateLimitations.cpp228 if ((type != EbtInt) && (type != EbtFloat)) { in validateForLoopInit()
451 if (!index->isScalar() || (index->getBasicType() != EbtInt)) { in validateIndexing()
DOutputHLSL.cpp849 case EbtInt: in visitBinary()
1590 if (constant->getBasicType() == EbtInt && constant->getNominalSize() == 1) in handleExcessiveLoop()
1612 if (constant->getBasicType() == EbtInt && constant->getNominalSize() == 1) in handleExcessiveLoop()
1634 if (constant->getBasicType() == EbtInt && constant->getNominalSize() == 1) in handleExcessiveLoop()
1820 case EbtInt: in typeString()
2121 case EbtInt: out << constUnion->getIConst(); break; in writeConstantUnion()
DVariableInfo.cpp38 case EbtInt: in getVariableDataType()
DSymbolTable.cpp32 case EbtInt: mangledName += 'i'; break; in buildMangledName()
Dglslang_tab.cpp2166 …ermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, Evq…
2314 …mTyped* index = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, Evq…
2339 …mTyped* index = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, Evq…
2345 …mTyped* index = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, Evq…
2645 case EbtInt:
3602 …(yyvsp[(2) - (2)].interm.type).type == EbtBool || (yyvsp[(2) - (2)].interm.type).type == EbtInt)) {
3607 …(yyvsp[(2) - (2)].interm.type).type == EbtBool || (yyvsp[(2) - (2)].interm.type).type == EbtInt)) {
3745 (yyval.interm.type).setBasic(EbtInt, qual, (yyvsp[(1) - (1)].lex).line);
3815 (yyval.interm.type).setBasic(EbtInt, qual, (yyvsp[(1) - (1)].lex).line);
3824 (yyval.interm.type).setBasic(EbtInt, qual, (yyvsp[(1) - (1)].lex).line);
[all …]
DParseHelper.cpp271 case EbtInt: in precisionErrorCheck()
411 if (node->getBasicType() == EbtInt && node->getNominalSize() == 1) in integerErrorCheck()
689 if (constant == 0 || constant->getBasicType() != EbtInt) { in arraySizeErrorCheck()
DintermOut.cpp330 case EbtInt: in visitConstantUnion()