Home
last modified time | relevance | path

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

12

/external/angle/src/compiler/translator/
DConstantUnion.cpp65 (rhs.getType() == EbtUInt && rhs.getUConst() <= 31u); in IsValidShiftOffset()
84 ASSERT(type == EbtUInt); in getUConst()
94 case EbtUInt: in getFConst()
114 case EbtUInt: in isZero()
141 case EbtUInt: in cast()
160 case EbtUInt: in cast()
173 case EbtUInt: in cast()
179 case EbtUInt: in cast()
207 case EbtUInt: in cast()
226 case EbtUInt: in cast()
[all …]
Dutil.cpp310 else if (type.getBasicType() == EbtUInt) in GLVariableType()
465 else if (type.getBasicType() == EbtInt || type.getBasicType() == EbtUInt) in GLVariablePrecision()
648 return TType(EbtUInt); in GetShaderVariableBasicType()
650 return TType(EbtUInt, 2); in GetShaderVariableBasicType()
652 return TType(EbtUInt, 3); in GetShaderVariableBasicType()
654 return TType(EbtUInt, 4); in GetShaderVariableBasicType()
855 case EbtUInt: in GetConversion()
863 case EbtUInt: in GetConversion()
868 case EbtUInt: in GetConversion()
881 case EbtUInt: in GetConversion()
DSymbolTable_autogen.cpp2646 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobalInvocationID, 3, 1>());
2702 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationID, 3, 1>());
2708 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationIndex, 1, 1>());
2714 StaticType::Get<EbtUInt, EbpUndefined, EvqNumWorkGroups, 3, 1>());
2768 StaticType::Get<EbtUInt, EbpHigh, EvqViewIDOVR, 1, 1>());
2780 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupID, 3, 1>());
2786 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupSize, 3, 1>());
2806 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 1, 1>());
3317 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 2, 1>());
3342 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 3, 1>());
[all …]
DIntermNode.cpp67 case EbtUInt: in UndefinedConstantFoldingError()
1242 setType(TType(EbtUInt, EbpHigh, resultQualifier, operandPrimarySize)); in promote()
1253 setType(TType(EbtUInt, EbpHigh, resultQualifier)); in promote()
2019 if (constArray && mType.getBasicType() == EbtUInt) in fold()
2254 case EbtUInt: in FoldBinary()
2538 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2557 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2576 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2605 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2617 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
[all …]
DSymbolTable_ESSL_autogen.cpp1385 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobalInvocationID, 3, 1>());
1441 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationID, 3, 1>());
1447 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationIndex, 1, 1>());
1453 StaticType::Get<EbtUInt, EbpUndefined, EvqNumWorkGroups, 3, 1>());
1507 StaticType::Get<EbtUInt, EbpHigh, EvqViewIDOVR, 1, 1>());
1519 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupID, 3, 1>());
1525 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupSize, 3, 1>());
1540 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 1, 1>());
1778 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 2, 1>());
1798 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 3, 1>());
[all …]
DStaticType.h224 static_assert(basicType == EbtFloat || basicType == EbtInt || basicType == EbtUInt || in GetForVecMatHelper()
250 static_assert(basicType == EbtFloat || basicType == EbtInt || basicType == EbtUInt ||
DTypes.cpp33 case EbtUInt: in getBasicString()
224 case EbtUInt: in canBeConstructed()
326 case EbtUInt: in getBuiltInTypeNameString()
DConstantUnion.h34 type = EbtUInt; in setUConst()
DBaseTypes.h59 EbtUInt, enumerator
900 return type == EbtInt || type == EbtUInt; in IsInteger()
905 return type == EbtFloat || type == EbtInt || type == EbtUInt || IsOpaqueType(type); in SupportsPrecision()
DTranslatorVulkan.cpp418 new TType(EbtUInt), in AddGraphicsDriverUniformsToShader()
419 new TType(EbtUInt), in AddGraphicsDriverUniformsToShader()
422 new TType(EbtUInt, 4), in AddGraphicsDriverUniformsToShader()
448 new TType(EbtUInt, 4), in AddComputeDriverUniformsToShader()
DFunctionLookup.cpp100 if (argType == EbtInt || argType == EbtUInt) in GetMangledNames()
Dglslang.y991 $$.initialize(EbtUInt, @1);
1033 $$.initialize(EbtUInt, @1);
1037 $$.initialize(EbtUInt, @1);
1041 $$.initialize(EbtUInt, @1);
/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
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()
DSymbolTable.h272 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()
DIntermediate.cpp151 case EbtUInt: in TypeToConstructorOperator()
1575 case EbtUInt: in fold()
1806 case EbtUInt: tempConstArray[i].setUConst(~unionArray[i].getUConst()); break; in fold()
1988 type.setBasicType(EbtUInt); in fold()
2008 case EbtUInt: in fold()
2040 case EbtUInt: in promoteConstantUnion()
2059 case EbtUInt: in promoteConstantUnion()
2073 case EbtUInt: in promoteConstantUnion()
2078 case EbtUInt: in promoteConstantUnion()
2097 case EbtUInt: in promoteConstantUnion()
DOutputASM.cpp102 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 …]
DValidateSwitch.cpp142 else if (conditionType == EbtUInt) in visitCase()
Dglslang.y260 …$$ = 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);
DSymbolTable.cpp60 case EbtUInt: mangledName += 'u'; break; in buildMangledName()
/external/angle/src/compiler/translator/tree_ops/
DDeclareAndInitBuiltinsForInstancedMultiview.cpp45 new TIntermConstantUnion(numberOfViewsUnsignedConstant, TType(EbtUInt, EbpHigh, EvqConst)); in InitializeViewIDAndInstanceID()
51 TType(EbtUInt, EbpHigh, EvqTemporary), glInstanceIDSymbolCastArguments); in InitializeViewIDAndInstanceID()
139 new TType(EbtUInt, EbpHigh, viewIDQualifier), SymbolType::AngleInternal); in DeclareAndInitBuiltinsForInstancedMultiview()
DRewriteAtomicCounters.cpp32 TType *counterType = new TType(EbtUInt); in DeclareAtomicCountersBuffers()
55 TType *constantType = new TType(*StaticType::GetBasic<EbtUInt, 1>()); in CreateUIntConstant()
387 fields->push_back(new TField(new TType(EbtUInt, EbpUndefined, EvqGlobal, 1, 1), in declareAtomicCounterType()
390 fields->push_back(new TField(new TType(EbtUInt, EbpUndefined, EvqGlobal, 1, 1), in declareAtomicCounterType()
559 new TIntermConstantUnion(offsetFieldIndex, *StaticType::GetBasic<EbtUInt>()); in convertFunctionArgument()
/external/angle/src/tests/compiler_tests/
DShaderImage_test.cpp232 mangledName2DArray += StaticType::GetBasic<EbtUInt, 4>()->getMangledName(); in TEST_F()
233 CheckImageStoreCall(mASTRoot, mangledName2DArray.c_str(), EbtUImage2DArray, 3, EbtUInt, 4); in TEST_F()
/external/angle/src/tests/test_utils/
DShaderCompileTreeTest.cpp86 case EbtUInt: in visitConstantUnion()
DConstantFoldingTest.h110 if (node.getType() != EbtUInt) in isEqual()

12