Home
last modified time | relevance | path

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

1234

/third_party/flutter/skia/third_party/externals/angle2/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.cpp309 else if (type.getBasicType() == EbtUInt) in GLVariableType()
462 else if (type.getBasicType() == EbtInt || type.getBasicType() == EbtUInt) in GLVariablePrecision()
639 return TType(EbtUInt); in GetShaderVariableBasicType()
641 return TType(EbtUInt, 2); in GetShaderVariableBasicType()
643 return TType(EbtUInt, 3); in GetShaderVariableBasicType()
645 return TType(EbtUInt, 4); in GetShaderVariableBasicType()
841 case EbtUInt: in GetConversion()
849 case EbtUInt: in GetConversion()
854 case EbtUInt: in GetConversion()
867 case EbtUInt: in GetConversion()
DIntermNode.cpp67 case EbtUInt: in UndefinedConstantFoldingError()
1226 setType(TType(EbtUInt, EbpHigh, resultQualifier, operandPrimarySize)); in promote()
1237 setType(TType(EbtUInt, EbpHigh, resultQualifier)); in promote()
1977 if (constArray && mType.getBasicType() == EbtUInt) in fold()
2212 case EbtUInt: in FoldBinary()
2496 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2515 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2534 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2563 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2575 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
[all …]
DSymbolTable_autogen.cpp2221 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobalInvocationID, 3, 1>());
2266 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationID, 3, 1>());
2272 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationIndex, 1, 1>());
2278 StaticType::Get<EbtUInt, EbpUndefined, EvqNumWorkGroups, 3, 1>());
2330 StaticType::Get<EbtUInt, EbpHigh, EvqViewIDOVR, 1, 1>());
2348 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupID, 3, 1>());
2354 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupSize, 3, 1>());
2369 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 1, 1>());
2611 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 2, 1>());
2631 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 3, 1>());
[all …]
DStaticType.h142 static_assert(basicType == EbtFloat || basicType == EbtInt || basicType == EbtUInt || in GetForVecMatHelper()
168 static_assert(basicType == EbtFloat || basicType == EbtInt || basicType == EbtUInt ||
DBaseTypes.h58 EbtUInt, enumerator
595 return type == EbtInt || type == EbtUInt; in IsInteger()
600 return type == EbtFloat || type == EbtInt || type == EbtUInt || IsOpaqueType(type); in SupportsPrecision()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DConstantUnion.cpp65 (rhs.getType() == EbtUInt && rhs.getUConst() <= 31u); in IsValidShiftOffset()
74 TConstantUnion::TConstantUnion(unsigned int u) : uConst(u), type(EbtUInt) {} in TConstantUnion()
88 ASSERT(type == EbtUInt); in getUConst()
98 case EbtUInt: in getFConst()
118 case EbtUInt: in isZero()
145 case EbtUInt: in cast()
164 case EbtUInt: in cast()
177 case EbtUInt: in cast()
183 case EbtUInt: in cast()
211 case EbtUInt: in cast()
[all …]
Dutil.cpp269 case EbtUInt: in GLVariableType()
409 else if (type.getBasicType() == EbtInt || type.getBasicType() == EbtUInt) in GLVariablePrecision()
666 return TType(EbtUInt); in GetShaderVariableBasicType()
668 return TType(EbtUInt, 2); in GetShaderVariableBasicType()
670 return TType(EbtUInt, 3); in GetShaderVariableBasicType()
672 return TType(EbtUInt, 4); in GetShaderVariableBasicType()
881 case EbtUInt: in GetConversion()
889 case EbtUInt: in GetConversion()
894 case EbtUInt: in GetConversion()
907 case EbtUInt: in GetConversion()
[all …]
DSymbolTable_autogen.cpp3483 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobalInvocationID, 3, 1>());
3569 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationID, 3, 1>());
3575 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationIndex, 1, 1>());
3592 StaticType::Get<EbtUInt, EbpUndefined, EvqNumWorkGroups, 3, 1>());
3747 StaticType::Get<EbtUInt, EbpHigh, EvqViewIDOVR, 1, 1>());
3759 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupID, 3, 1>());
3765 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupSize, 3, 1>());
3785 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 1, 1>());
4281 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 2, 1>());
4306 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 3, 1>());
[all …]
DSymbolTable_ESSL_autogen.cpp2286 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobalInvocationID, 3, 1>());
2372 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationID, 3, 1>());
2378 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationIndex, 1, 1>());
2395 StaticType::Get<EbtUInt, EbpUndefined, EvqNumWorkGroups, 3, 1>());
2550 StaticType::Get<EbtUInt, EbpHigh, EvqViewIDOVR, 1, 1>());
2562 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupID, 3, 1>());
2568 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupSize, 3, 1>());
2583 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 1, 1>());
3011 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 2, 1>());
3031 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 3, 1>());
[all …]
DDriverUniformMetal.cpp45 new TType(EbtUInt, EbpHigh, in createUniformFields()
47 new TType(EbtUInt, EbpHigh, EvqGlobal), // kCoverageMask in createUniformFields()
DIntermNode.cpp68 case EbtUInt: in UndefinedConstantFoldingError()
1382 resultType.setBasicType(EbtUInt); in promote()
1393 resultType.setBasicType(EbtUInt); in promote()
2328 if (constArray && mType.getBasicType() == EbtUInt) in fold()
2563 case EbtUInt: in FoldBinary()
2847 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2866 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2885 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2914 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
2926 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise()
[all …]
DBuildSPIRV.cpp602 uintType.type = EbtUInt; in getSpirvTypeData()
866 case EbtUInt: in declareType()
1010 sampledType = EbtUInt; in getImageTypeParameters()
1014 sampledType = EbtUInt; in getImageTypeParameters()
1020 sampledType = EbtUInt; in getImageTypeParameters()
1025 sampledType = EbtUInt; in getImageTypeParameters()
1042 sampledType = EbtUInt; in getImageTypeParameters()
1082 sampledType = EbtUInt; in getImageTypeParameters()
1087 sampledType = EbtUInt; in getImageTypeParameters()
1128 sampledType = EbtUInt; in getImageTypeParameters()
[all …]
DStaticType.h237 static_assert(basicType == EbtFloat || basicType == EbtInt || basicType == EbtUInt || in GetForVecMatHelper()
261 static_assert(basicType == EbtFloat || basicType == EbtInt || basicType == EbtUInt ||
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DDriverUniform.cpp57 new TType(EbtUInt, EbpHigh, EvqGlobal, 4), in addComputeDriverUniformsToShader()
92 new TType(EbtUInt, EbpHigh, in createUniformFields()
94 new TType(EbtUInt, EbpLow, EvqGlobal), // uint xfbActiveUnpaused; // 1 bit in createUniformFields()
98 new TType(EbtUInt, EbpHigh, EvqGlobal, 4), in createUniformFields()
281 new TType(EbtUInt, EbpHigh, EvqGlobal), in createUniformFields()
282 new TType(EbtUInt, EbpHigh, EvqGlobal), in createUniformFields()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DDeclareAndInitBuiltinsForInstancedMultiview.cpp45 new TIntermConstantUnion(numberOfViewsUnsignedConstant, TType(EbtUInt, EbpLow, EvqConst)); in InitializeViewIDAndInstanceID()
51 TType(EbtUInt, EbpHigh, EvqTemporary), &glInstanceIDSymbolCastArguments); in InitializeViewIDAndInstanceID()
139 new TType(EbtUInt, EbpHigh, viewIDQualifier), SymbolType::AngleInternal); in DeclareAndInitBuiltinsForInstancedMultiview()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DDeclareAndInitBuiltinsForInstancedMultiview.cpp44 new TIntermConstantUnion(numberOfViewsUnsignedConstant, TType(EbtUInt, EbpHigh, EvqConst)); in InitializeViewIDAndInstanceID()
50 TType(EbtUInt, EbpHigh, EvqTemporary), glInstanceIDSymbolCastArguments); in InitializeViewIDAndInstanceID()
137 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()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DIntroduceVertexIndexID.cpp23 StaticType::Get<EbtUInt, EbpHigh, EvqVertexID, 1, 1>());
30 StaticType::Get<EbtUInt, EbpHigh, EvqInstanceID, 1, 1>());
DTranslatorMetalUtils.cpp33 case EbtUInt: in getBasicMetalString()
274 case EbtUInt: in getBuiltInMetalTypeNameString()
/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShaderImage_test.cpp232 mangledName2DArray += StaticType::GetBasic<EbtUInt, EbpUndefined, 4>()->getMangledName(); in TEST_F()
233 CheckImageStoreCall(mASTRoot, mangledName2DArray.c_str(), EbtUImage2DArray, 3, EbtUInt, 4); in TEST_F()

1234