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 112 case EbtUInt: return "uint"; in getBasicString() 327 return type == EbtInt || type == EbtUInt; in IsInteger() 332 return type == EbtFloat || type == EbtInt || type == EbtUInt || IsSampler(type); in SupportsPrecision()
|
D | SymbolTable.h | 287 case EbtGenUType: return new TType(EbtUInt, size); in GenType() 308 case EbtUVec: return new TType(EbtUInt, size); in VecType() 376 …insertBuiltIn(level, gvec4 ? new TType(EbtUInt, 4) : rvalue, name, new TType(EbtUSampler2D), ptype… 384 …insertBuiltIn(level, gvec4 ? new TType(EbtUInt, 4) : rvalue, name, new TType(EbtUSampler3D), ptype… 392 …insertBuiltIn(level, gvec4 ? new TType(EbtUInt, 4) : rvalue, name, new TType(EbtUSamplerCube), pty… 400 …insertBuiltIn(level, gvec4 ? new TType(EbtUInt, 4) : rvalue, name, new TType(EbtUSampler2DArray), … 493 if (type == EbtUInt) type = EbtInt; in getDefaultPrecision()
|
D | OutputASM.cpp | 370 case EbtUInt: in getOpcode() 398 case EbtUInt: in getOpcode() 408 case EbtUInt: in getOpcode() 418 case EbtUInt: in getOpcode() 429 case EbtUInt: in getOpcode() 436 return baseType == EbtUInt ? sw::Shader::OPCODE_UMOD : op; in getOpcode() 438 return baseType == EbtUInt ? sw::Shader::OPCODE_USHR : op; in getOpcode() 444 case EbtUInt: in getOpcode() 455 case EbtUInt: in getOpcode() 926 if(basicType == EbtInt || basicType == EbtUInt) in visitUnary() [all …]
|
D | Intermediate.cpp | 151 case EbtUInt: in TypeToConstructorOperator() 1574 case EbtUInt: in fold() 1800 case EbtUInt: tempConstArray[i].setUConst(~unionArray[i].getUConst()); break; in fold() 1989 case EbtUInt: in promoteConstantUnion() 2008 case EbtUInt: in promoteConstantUnion() 2022 case EbtUInt: in promoteConstantUnion() 2027 case EbtUInt: in promoteConstantUnion() 2046 case EbtUInt: in promoteConstantUnion()
|
D | ValidateSwitch.cpp | 142 else if (conditionType == EbtUInt) in visitCase()
|
D | glslang.y | 259 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtUInt, EbpUndefined, EvqConstExpr)… 1094 $$.setBasic(EbtUInt, qual, @1); 1147 $$.setBasic(EbtUInt, qual, @1); 1152 $$.setBasic(EbtUInt, qual, @1); 1157 $$.setBasic(EbtUInt, qual, @1);
|
D | SymbolTable.cpp | 61 case EbtUInt: mangledName += 'u'; break; in buildMangledName()
|
D | ParseHelper.cpp | 857 if (constant->getBasicType() == EbtUInt) in arraySizeErrorCheck() 1447 bool typeContainsIntegers = (type.type == EbtInt || type.type == EbtUInt || in checkInputOutputTypeIsValidES3() 1449 type.isStructureContainingType(EbtUInt)); in checkInputOutputTypeIsValidES3() 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()
|
D | ValidateLimitations.cpp | 90 case EbtUInt: in visitSymbol()
|
D | intermOut.cpp | 394 case EbtUInt: in visitConstantUnion()
|
D | glslang_tab.cpp | 2411 …ermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtUInt, EbpUndefined, Ev… in yyparse() 3856 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse() 3964 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse() 3974 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse() 3984 (yyval.interm.type).setBasic(EbtUInt, qual, (yylsp[0])); in yyparse()
|
D | Initialize.cpp | 36 TType *uint1 = new TType(EbtUInt); in InsertBuiltInFunctions()
|