Searched refs:EbtInt (Results 1 – 13 of 13) sorted by relevance
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
D | ConstantUnion.h | 16 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 …]
|
D | BaseTypes.h | 40 EbtInt, enumerator 56 case EbtInt: return "int"; break; in getBasicString()
|
D | Intermediate.cpp | 315 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 …]
|
D | OutputGLSL.cpp | 25 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()
|
D | glslang.y | 202 …$$ = 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 …]
|
D | SymbolTable.h | 316 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()
|
D | ValidateLimitations.cpp | 228 if ((type != EbtInt) && (type != EbtFloat)) { in validateForLoopInit() 451 if (!index->isScalar() || (index->getBasicType() != EbtInt)) { in validateIndexing()
|
D | OutputHLSL.cpp | 849 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()
|
D | VariableInfo.cpp | 38 case EbtInt: in getVariableDataType()
|
D | SymbolTable.cpp | 32 case EbtInt: mangledName += 'i'; break; in buildMangledName()
|
D | glslang_tab.cpp | 2166 …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 …]
|
D | ParseHelper.cpp | 271 case EbtInt: in precisionErrorCheck() 411 if (node->getBasicType() == EbtInt && node->getNominalSize() == 1) in integerErrorCheck() 689 if (constant == 0 || constant->getBasicType() != EbtInt) { in arraySizeErrorCheck()
|
D | intermOut.cpp | 330 case EbtInt: in visitConstantUnion()
|