/external/swiftshader/src/OpenGL/compiler/ |
D | ConstantUnion.h | 40 case EbtInt: setFConst(static_cast<float>(constant.getIConst())); break; in cast() 47 case EbtInt: in cast() 50 case EbtInt: setIConst(static_cast<int>(constant.getIConst())); break; in cast() 60 case EbtInt: setUConst(static_cast<unsigned int>(constant.getIConst())); break; in cast() 70 case EbtInt: setBConst(constant.getIConst() != 0); break; in cast() 80 case EbtInt: setIConst(constant.getIConst()); break; in cast() 94 void setIConst(int i) {iConst = i; type = EbtInt; } in setIConst() 110 case EbtInt: return reinterpret_cast<const float&>(iConst); in getAsFloat() 144 case EbtInt: 186 case EbtInt: [all …]
|
D | SymbolTable.h | 271 case EbtGenIType: return new TType(EbtInt, size); in GenType() 292 case EbtIVec: return new TType(EbtInt, size); in VecType() 348 …TVariable *constant = new TVariable(NewPoolTString(name), TType(EbtInt, EbpUndefined, EvqConstExpr… in insertConstInt() 360 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler2D), ptype2… 368 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler3D), ptype2… 376 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISamplerCube), ptyp… 384 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler2DArray), p… 465 if (type.type != EbtFloat && type.type != EbtInt) in setDefaultPrecision() 478 if (type == EbtUInt) type = EbtInt; in getDefaultPrecision() 480 if( type != EbtFloat && type != EbtInt ) return EbpUndefined; in getDefaultPrecision()
|
D | BaseTypes.h | 50 EbtInt, enumerator 112 case EbtInt: return "int"; in getBasicString() 335 return type == EbtInt || type == EbtUInt; in IsInteger() 340 return type == EbtFloat || type == EbtInt || type == EbtUInt || IsSampler(type); in SupportsPrecision()
|
D | Intermediate.cpp | 135 case EbtInt: in TypeToConstructorOperator() 732 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), line); in addSwizzle() 797 TType type(EbtInt, EbpUndefined, EvqConstExpr, 1); in CreateIndexNode() 1564 case EbtInt: in fold() 1788 case EbtInt: tempConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold() 1804 case EbtInt: tempConstArray[i].setIConst(~unionArray[i].getIConst()); break; in fold() 1975 type.setBasicType(EbtInt); in fold() 1996 case EbtInt: in fold() 2036 case EbtInt: in promoteConstantUnion() 2053 case EbtInt: in promoteConstantUnion() [all …]
|
D | OutputASM.cpp | 83 case EbtInt: in glVariableType() 190 else if(type.getBasicType() == EbtInt) in glVariablePrecision() 250 …Constant(int i) : TIntermConstantUnion(constants, TType(EbtInt, EbpHigh, EvqConstExpr, 1, 1, false… in Constant() 562 case EbtInt: in getOpcode() 572 case EbtInt: in getOpcode() 581 case EbtInt: in getOpcode() 590 case EbtInt: in getOpcode() 600 case EbtInt: in getOpcode() 610 case EbtInt: in getOpcode() 620 case EbtInt: in getOpcode() [all …]
|
D | Initialize.cpp | 33 TType *int1 = new TType(EbtInt); in InsertBuiltInFunctions() 34 TType *int2 = new TType(EbtInt, 2); in InsertBuiltInFunctions() 35 TType *int3 = new TType(EbtInt, 3); in InsertBuiltInFunctions() 486 …symbolTable.insert(ESSL3_BUILTINS, new TVariable(NewPoolTString("gl_InstanceID"), TType(EbtInt, Eb… in IdentifyBuiltIns() 487 …symbolTable.insert(ESSL3_BUILTINS, new TVariable(NewPoolTString("gl_VertexID"), TType(EbtInt, EbpH… in IdentifyBuiltIns()
|
D | ValidateSwitch.cpp | 129 if (conditionType == EbtInt) in visitCase()
|
D | Compiler.cpp | 172 integer.type = EbtInt; in InitBuiltInSymbolTable()
|
D | glslang.y | 255 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr),… 1091 $$.setBasic(EbtInt, qual, @1); 1133 $$.setBasic(EbtInt, qual, @1); 1138 $$.setBasic(EbtInt, qual, @1); 1143 $$.setBasic(EbtInt, qual, @1);
|
D | ParseHelper.cpp | 277 case EbtInt: in precisionErrorCheck() 1334 if(qualifier == EvqAttribute && (typeSpecifier.type == EbtBool || typeSpecifier.type == EbtInt)) in addFullySpecifiedType() 1341 (typeSpecifier.type == EbtBool || typeSpecifier.type == EbtInt)) in addFullySpecifiedType() 1398 bool typeContainsIntegers = (type.type == EbtInt || type.type == EbtUInt || in checkInputOutputTypeIsValidES3() 1399 type.isStructureContainingType(EbtInt) || in checkInputOutputTypeIsValidES3() 3075 if((child->getBasicType() != EbtInt && child->getBasicType() != EbtUInt) || in createUnaryMath() 3277 if((switchType != EbtInt && switchType != EbtUInt) || in addSwitch() 3320 if((condition->getBasicType() != EbtInt && condition->getBasicType() != EbtUInt) || in addCase() 3547 …callNode = intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), lo… in addFunctionCallOrMethod()
|
D | SymbolTable.cpp | 59 case EbtInt: mangledName += 'i'; break; in buildMangledName()
|
D | ValidateLimitations.cpp | 94 case EbtInt: in visitSymbol()
|
D | intermOut.cpp | 390 case EbtInt: in visitConstantUnion()
|
D | glslang_tab.cpp | 2404 …ermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, Evq… in yyparse() 3850 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse() 3937 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse() 3947 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse() 3957 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse()
|