/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() 1791 case EbtInt: tempConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold() 1807 case EbtInt: tempConstArray[i].setIConst(~unionArray[i].getIConst()); break; in fold() 1978 type.setBasicType(EbtInt); in fold() 1999 case EbtInt: in fold() 2039 case EbtInt: in promoteConstantUnion() 2056 case EbtInt: in promoteConstantUnion() [all …]
|
D | OutputASM.cpp | 85 case EbtInt: in glVariableType() 192 else if(type.getBasicType() == EbtInt) in glVariablePrecision() 252 …Constant(int i) : TIntermConstantUnion(constants, TType(EbtInt, EbpHigh, EvqConstExpr, 1, 1, false… in Constant() 564 case EbtInt: in getOpcode() 574 case EbtInt: in getOpcode() 583 case EbtInt: in getOpcode() 592 case EbtInt: in getOpcode() 602 case EbtInt: in getOpcode() 612 case EbtInt: in getOpcode() 622 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() 498 …symbolTable.insert(ESSL3_BUILTINS, new TVariable(NewPoolTString("gl_InstanceID"), TType(EbtInt, Eb… in IdentifyBuiltIns() 499 …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 | 173 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 | 285 case EbtInt: in precisionErrorCheck() 1342 if(qualifier == EvqAttribute && (typeSpecifier.type == EbtBool || typeSpecifier.type == EbtInt)) in addFullySpecifiedType() 1349 (typeSpecifier.type == EbtBool || typeSpecifier.type == EbtInt)) in addFullySpecifiedType() 1406 bool typeContainsIntegers = (type.type == EbtInt || type.type == EbtUInt || in checkInputOutputTypeIsValidES3() 1407 type.isStructureContainingType(EbtInt) || in checkInputOutputTypeIsValidES3() 3083 if((child->getBasicType() != EbtInt && child->getBasicType() != EbtUInt) || in createUnaryMath() 3285 if((switchType != EbtInt && switchType != EbtUInt) || in addSwitch() 3328 if((condition->getBasicType() != EbtInt && condition->getBasicType() != EbtUInt) || in addCase() 3555 …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()
|
/external/deqp-deps/glslang/glslang/Include/ |
D | ConstantUnion.h | 50 TConstUnion() : iConst(0), type(EbtInt) { } in POOL_ALLOCATOR_NEW_DELETE() 79 type = EbtInt; in setIConst() 236 case EbtInt: 352 case EbtInt: 407 case EbtInt: 445 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break; 465 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break; 485 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break; 505 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break; 527 case EbtInt: returnValue.setI8Const(i8Const >> constant.iConst); break; [all …]
|
D | BaseTypes.h | 55 EbtInt, enumerator 479 case EbtInt: in isTypeSignedInt() 528 case EbtInt: in getTypeRank()
|
D | Types.h | 216 case EbtInt: s.append("i"); break; in getString() 1514 case EbtInt: in isIntegerDomain() 1596 case EbtInt: in containsNonOpaque() 1713 case EbtInt: return "int"; in getBasicString()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Intermediate.cpp | 314 case EOpConstructInt: newType = EbtInt; break; in addUnaryMath() 508 case EbtInt: newOp = EOpConvIntToDouble; break; in createConversion() 525 case EbtInt: newOp = EOpConvIntToFloat; break; in createConversion() 542 case EbtInt: newOp = EOpConvIntToFloat16; break; in createConversion() 559 case EbtInt: newOp = EOpConvIntToBool; break; in createConversion() 575 case EbtInt: newOp = EOpConvIntToInt8; break; in createConversion() 592 case EbtInt: newOp = EOpConvIntToUint8; break; in createConversion() 610 case EbtInt: newOp = EOpConvIntToInt16; break; in createConversion() 627 case EbtInt: newOp = EOpConvIntToUint16; break; in createConversion() 640 case EbtInt: in createConversion() [all …]
|
D | glslang.y | 461 $$.function = new TFunction(&method->getMethodName(), TType(EbtInt), EOpArrayLength); 1559 $$.basicType = EbtInt; 1589 $$.basicType = EbtInt; 1714 $$.basicType = EbtInt; 1719 $$.basicType = EbtInt; 1724 $$.basicType = EbtInt; 1766 $$.basicType = EbtInt; 1772 $$.basicType = EbtInt; 1778 $$.basicType = EbtInt; 2420 $$.sampler.set(EbtInt, Esd1D); [all …]
|
D | glslang_tab.cpp | 4431 … (yyval.interm).function = new TFunction(&method->getMethodName(), TType(EbtInt), EOpArrayLength); in yyparse() 6216 (yyval.interm.type).basicType = EbtInt; in yyparse() 6276 (yyval.interm.type).basicType = EbtInt; in yyparse() 6516 (yyval.interm.type).basicType = EbtInt; in yyparse() 6526 (yyval.interm.type).basicType = EbtInt; in yyparse() 6536 (yyval.interm.type).basicType = EbtInt; in yyparse() 6613 (yyval.interm.type).basicType = EbtInt; in yyparse() 6624 (yyval.interm.type).basicType = EbtInt; in yyparse() 6635 (yyval.interm.type).basicType = EbtInt; in yyparse() 7812 (yyval.interm.type).sampler.set(EbtInt, Esd1D); in yyparse() [all …]
|
D | reflection.cpp | 448 case EbtInt: in mapSamplerToGlType() 530 case EbtInt: in mapSamplerToGlType() 598 case EbtInt: return GL_INT_VEC2 + offset; in mapToGlType() 694 case EbtInt: return GL_INT; in mapToGlType()
|
D | SymbolTable.cpp | 66 case EbtInt: mangledName += 'i'; break; in buildMangledName() 84 case EbtInt: mangledName += "i"; break; in buildMangledName()
|
D | Constant.cpp | 224 case EbtInt: in fold() 290 case EbtInt: in fold() 536 case EbtInt: newConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold() 621 else if (unionArray[i].getType() == EbtInt) in fold() 1089 case EbtInt: in fold() 1123 case EbtInt: in fold() 1162 case EbtInt: in fold()
|
D | attribute.cpp | 46 const TConstUnion* intConst = getConstUnion(EbtInt, argNum); in getInt()
|
D | ParseHelper.cpp | 142 defaultPrecision[EbtInt] = EpqMedium; in setPrecisionDefaults() 145 defaultPrecision[EbtInt] = EpqHigh; in setPrecisionDefaults() 758 return intermediate.addMethod(base, TType(EbtInt), &field, loc); in handleDotDereference() 1384 … return intermediate.addBuiltInFunctionCall(loc, EOpArrayLength, true, intermNode, TType(EbtInt)); in handleLengthMethod() 1914 if (imageType.getSampler().type == EbtInt || imageType.getSampler().type == EbtUint) { in builtInOpCheck() 2189 if (imageType.getSampler().type == EbtInt || imageType.getSampler().type == EbtUint) { in nonOpBuiltInCheck() 2483 if ((node->getBasicType() == EbtInt || node->getBasicType() == EbtUint) && node->isScalar()) in integerCheck() 3155 publicType.userDef->containsBasicType(EbtInt) || in globalQualifierTypeCheck() 3397 if (basicType == EbtInt || basicType == EbtFloat) { in setDefaultPrecision() 3400 if (basicType == EbtInt) { in setDefaultPrecision() [all …]
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslGrammar.cpp | 822 basicType = EbtInt; in acceptTemplateVecMatBasicType() 1137 case EbtInt: in acceptSubpassInputType() 1318 case EbtInt: in acceptTextureType() 1421 const TBasicType min16int_bt = enable16BitTypes ? EbtInt16 : EbtInt; in acceptType() 1422 const TBasicType min12int_bt = enable16BitTypes ? EbtInt16 : EbtInt; in acceptType() 1602 new(&type) TType(EbtInt); in acceptType() 1605 new(&type) TType(EbtInt); in acceptType() 1609 new(&type) TType(EbtInt, EvqTemporary, 2); in acceptType() 1612 new(&type) TType(EbtInt, EvqTemporary, 3); in acceptType() 1615 new(&type) TType(EbtInt, EvqTemporary, 4); in acceptType() [all …]
|
D | hlslParseHelper.cpp | 206 case EbtInt: return selectFormat(ElfR32i, ElfRg32i, ElfRgba32i); in getLayoutFromTxType() 785 if (indexBasicType == EbtInt || indexBasicType == EbtUint || in makeIntegerIndex() 2199 return type.containsBasicType(EbtInt) || in remapEntryPointIO() 3039 TType indexType(EbtInt); in handleAssignToMatrixSwizzle() 3307 loc, TType(EbtInt)); in decomposeStructBufferMethods() 3342 loc, TType(EbtInt)); in decomposeStructBufferMethods() 3344 … TVariable* byteAddrSym = makeInternalVariable("byteAddrTemp", TType(EbtInt, EvqTemporary)); in decomposeStructBufferMethods() 3360 loc, TType(EbtInt)); in decomposeStructBufferMethods() 3413 … intermediate.addConstantUnion(2, loc, true), loc, TType(EbtInt)); in decomposeStructBufferMethods() 3415 … TVariable* byteAddrSym = makeInternalVariable("byteAddrTemp", TType(EbtInt, EvqTemporary)); in decomposeStructBufferMethods() [all …]
|