Home
last modified time | relevance | path

Searched refs:EbtUInt (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DConstantUnion.h41 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 …]
DBaseTypes.h51 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()
DSymbolTable.h287 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()
DOutputASM.cpp370 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 …]
DIntermediate.cpp151 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()
DValidateSwitch.cpp142 else if (conditionType == EbtUInt) in visitCase()
Dglslang.y259 …$$ = 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);
DSymbolTable.cpp61 case EbtUInt: mangledName += 'u'; break; in buildMangledName()
DParseHelper.cpp857 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()
DValidateLimitations.cpp90 case EbtUInt: in visitSymbol()
DintermOut.cpp394 case EbtUInt: in visitConstantUnion()
Dglslang_tab.cpp2411 …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()
DInitialize.cpp36 TType *uint1 = new TType(EbtUInt); in InsertBuiltInFunctions()