/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 | 286 case EbtGenIType: return new TType(EbtInt, size); in GenType() 307 case EbtIVec: return new TType(EbtInt, size); in VecType() 363 …TVariable *constant = new TVariable(NewPoolTString(name), TType(EbtInt, EbpUndefined, EvqConstExpr… in insertConstInt() 375 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler2D), ptype2… 383 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler3D), ptype2… 391 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISamplerCube), ptyp… 399 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler2DArray), p… 480 if (type.type != EbtFloat && type.type != EbtInt) in setDefaultPrecision() 493 if (type == EbtUInt) type = EbtInt; in getDefaultPrecision() 495 if( type != EbtFloat && type != EbtInt ) return EbpUndefined; in getDefaultPrecision()
|
D | BaseTypes.h | 50 EbtInt, enumerator 111 case EbtInt: return "int"; in getBasicString() 327 return type == EbtInt || type == EbtUInt; in IsInteger() 332 return type == EbtFloat || type == EbtInt || type == EbtUInt || IsSampler(type); in SupportsPrecision()
|
D | OutputASM.cpp | 71 …Constant(int i) : TIntermConstantUnion(constants, TType(EbtInt, EbpHigh, EvqConstExpr, 1, 1, false… in Constant() 369 case EbtInt: in getOpcode() 379 case EbtInt: in getOpcode() 388 case EbtInt: in getOpcode() 397 case EbtInt: in getOpcode() 407 case EbtInt: in getOpcode() 417 case EbtInt: in getOpcode() 427 case EbtInt: in getOpcode() 442 case EbtInt: in getOpcode() 453 case EbtInt: in getOpcode() [all …]
|
D | Intermediate.cpp | 135 case EbtInt: in TypeToConstructorOperator() 729 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), line); in addSwizzle() 794 TType type(EbtInt, EbpUndefined, EvqConstExpr, 1); in CreateIndexNode() 1561 case EbtInt: in fold() 1783 case EbtInt: tempConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold() 1799 case EbtInt: tempConstArray[i].setIConst(~unionArray[i].getIConst()); break; in fold() 1986 case EbtInt: in promoteConstantUnion() 2003 case EbtInt: in promoteConstantUnion() 2005 case EbtInt: in promoteConstantUnion() 2024 case EbtInt: in promoteConstantUnion() [all …]
|
D | ValidateSwitch.cpp | 129 if (conditionType == EbtInt) in visitCase()
|
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() 473 …symbolTable.insert(ESSL3_BUILTINS, *new TVariable(NewPoolTString("gl_InstanceID"), TType(EbtInt, E… in IdentifyBuiltIns() 474 …symbolTable.insert(ESSL3_BUILTINS, *new TVariable(NewPoolTString("gl_VertexID"), TType(EbtInt, Ebp… in IdentifyBuiltIns()
|
D | ParseHelper.cpp | 325 case EbtInt: in precisionErrorCheck() 1383 if(qualifier == EvqAttribute && (typeSpecifier.type == EbtBool || typeSpecifier.type == EbtInt)) in addFullySpecifiedType() 1390 (typeSpecifier.type == EbtBool || typeSpecifier.type == EbtInt)) in addFullySpecifiedType() 1447 bool typeContainsIntegers = (type.type == EbtInt || type.type == EbtUInt || in checkInputOutputTypeIsValidES3() 1448 type.isStructureContainingType(EbtInt) || in checkInputOutputTypeIsValidES3() 2729 …TIntermTyped *index = intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqCon… in addFieldSelectionExpression() 2740 …TIntermTyped *index = intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqCon… in addFieldSelectionExpression() 3154 if((child->getBasicType() != EbtInt && child->getBasicType() != EbtUInt) || in createUnaryMath() 3356 if((switchType != EbtInt && switchType != EbtUInt) || in addSwitch() 3399 if((condition->getBasicType() != EbtInt && condition->getBasicType() != EbtUInt) || in addCase() [all …]
|
D | Compiler.cpp | 172 integer.type = EbtInt; in InitBuiltInSymbolTable()
|
D | glslang.y | 254 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr),… 1090 $$.setBasic(EbtInt, qual, @1); 1132 $$.setBasic(EbtInt, qual, @1); 1137 $$.setBasic(EbtInt, qual, @1); 1142 $$.setBasic(EbtInt, qual, @1);
|
D | SymbolTable.cpp | 60 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 | 2401 …ermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, Evq… in yyparse() 3847 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse() 3934 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse() 3944 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse() 3954 (yyval.interm.type).setBasic(EbtInt, qual, (yylsp[0])); in yyparse()
|