Searched refs:EbtUInt (Results 1 – 13 of 13) sorted by relevance
/external/swiftshader/src/OpenGL/compiler/ |
D | ConstantUnion.h | 41 case EbtUInt: setFConst(static_cast<float>(constant.getUConst())); break; in cast() 51 case EbtUInt: setIConst(static_cast<int>(constant.getUConst())); break; in cast() 57 case EbtUInt: in cast() 61 case EbtUInt: setUConst(static_cast<unsigned int>(constant.getUConst())); break; in cast() 71 case EbtUInt: setBConst(constant.getUConst() != 0); break; in cast() 81 case EbtUInt: setUConst(constant.getUConst()); break; in cast() 95 void setUConst(unsigned int u) { uConst = u; type = EbtUInt; } in setUConst() 111 case EbtUInt: return reinterpret_cast<const float&>(uConst); in getAsFloat() 146 case EbtUInt: 188 case EbtUInt: [all …]
|
D | BaseTypes.h | 51 EbtUInt, enumerator 113 case EbtUInt: return "uint"; in getBasicString() 335 return type == EbtInt || type == EbtUInt; in IsInteger() 340 return type == EbtFloat || type == EbtInt || type == EbtUInt || IsSampler(type); in SupportsPrecision()
|
D | SymbolTable.h | 272 case EbtGenUType: return new TType(EbtUInt, size); in GenType() 293 case EbtUVec: return new TType(EbtUInt, size); in VecType() 361 …insertBuiltIn(level, gvec4 ? new TType(EbtUInt, 4) : rvalue, name, new TType(EbtUSampler2D), ptype… 369 …insertBuiltIn(level, gvec4 ? new TType(EbtUInt, 4) : rvalue, name, new TType(EbtUSampler3D), ptype… 377 …insertBuiltIn(level, gvec4 ? new TType(EbtUInt, 4) : rvalue, name, new TType(EbtUSamplerCube), pty… 385 …insertBuiltIn(level, gvec4 ? new TType(EbtUInt, 4) : rvalue, name, new TType(EbtUSampler2DArray), … 478 if (type == EbtUInt) type = EbtInt; in getDefaultPrecision()
|
D | Intermediate.cpp | 151 case EbtUInt: in TypeToConstructorOperator() 1577 case EbtUInt: in fold() 1808 case EbtUInt: tempConstArray[i].setUConst(~unionArray[i].getUConst()); break; in fold() 1990 type.setBasicType(EbtUInt); in fold() 2010 case EbtUInt: in fold() 2042 case EbtUInt: in promoteConstantUnion() 2061 case EbtUInt: in promoteConstantUnion() 2075 case EbtUInt: in promoteConstantUnion() 2080 case EbtUInt: in promoteConstantUnion() 2099 case EbtUInt: in promoteConstantUnion()
|
D | OutputASM.cpp | 102 case EbtUInt: in glVariableType() 565 case EbtUInt: in getOpcode() 593 case EbtUInt: in getOpcode() 603 case EbtUInt: in getOpcode() 613 case EbtUInt: in getOpcode() 624 case EbtUInt: in getOpcode() 631 return baseType == EbtUInt ? sw::Shader::OPCODE_UMOD : op; in getOpcode() 633 return baseType == EbtUInt ? sw::Shader::OPCODE_USHR : op; in getOpcode() 639 case EbtUInt: in getOpcode() 650 case EbtUInt: in getOpcode() [all …]
|
D | ValidateSwitch.cpp | 142 else if (conditionType == EbtUInt) in visitCase()
|
D | glslang.y | 260 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtUInt, EbpUndefined, EvqConstExpr)… 1095 $$.setBasic(EbtUInt, qual, @1); 1148 $$.setBasic(EbtUInt, qual, @1); 1153 $$.setBasic(EbtUInt, qual, @1); 1158 $$.setBasic(EbtUInt, qual, @1);
|
D | SymbolTable.cpp | 60 case EbtUInt: mangledName += 'u'; break; in buildMangledName()
|
D | ParseHelper.cpp | 817 if (constant->getBasicType() == EbtUInt) in arraySizeErrorCheck() 1406 bool typeContainsIntegers = (type.type == EbtInt || type.type == EbtUInt || in checkInputOutputTypeIsValidES3() 1408 type.isStructureContainingType(EbtUInt)); 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()
|
D | ValidateLimitations.cpp | 90 case EbtUInt: in visitSymbol()
|
D | intermOut.cpp | 396 case EbtUInt: in visitConstantUnion()
|
D | glslang_tab.cpp | 2414 …ermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtUInt, EbpUndefined, Ev… in yyparse() 3859 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse() 3967 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse() 3977 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse() 3987 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse()
|
D | Initialize.cpp | 36 TType *uint1 = new TType(EbtUInt); in InsertBuiltInFunctions()
|