Home
last modified time | relevance | path

Searched refs:EbtInt (Results 1 – 25 of 117) sorted by relevance

12345

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DConstantUnion.cpp64 return (rhs.getType() == EbtInt && (rhs.getIConst() >= 0 && rhs.getIConst() <= 31)) || in IsValidShiftOffset()
78 ASSERT(type == EbtInt); in getIConst()
92 case EbtInt: in getFConst()
112 case EbtInt: in isZero()
138 case EbtInt: in cast()
154 case EbtInt: in cast()
157 case EbtInt: in cast()
176 case EbtInt: in cast()
204 case EbtInt: in cast()
223 case EbtInt: in cast()
[all …]
Dutil.cpp284 else if (type.getBasicType() == EbtInt) in GLVariableType()
462 else if (type.getBasicType() == EbtInt || type.getBasicType() == EbtUInt) in GLVariablePrecision()
631 return TType(EbtInt); in GetShaderVariableBasicType()
633 return TType(EbtInt, 2); in GetShaderVariableBasicType()
635 return TType(EbtInt, 3); in GetShaderVariableBasicType()
637 return TType(EbtInt, 4); in GetShaderVariableBasicType()
835 case EbtInt: in GetConversion()
838 case EbtInt: in GetConversion()
852 case EbtInt: in GetConversion()
866 case EbtInt: in GetConversion()
DSymbolTable_autogen.cpp2175 StaticType::Get<EbtInt, EbpHigh, EvqBaseInstance, 1, 1>());
2181 StaticType::Get<EbtInt, EbpHigh, EvqBaseVertex, 1, 1>());
2186 StaticType::Get<EbtInt, EbpHigh, EvqDrawID, 1, 1>());
2191 StaticType::Get<EbtInt, EbpHigh, EvqDrawID, 1, 1>());
2227 StaticType::Get<EbtInt, EbpHigh, EvqInstanceID, 1, 1>());
2233 StaticType::Get<EbtInt, EbpHigh, EvqInvocationID, 1, 1>());
2250 StaticType::Get<EbtInt, EbpHigh, EvqLayer, 1, 1>());
2255 StaticType::Get<EbtInt, EbpHigh, EvqLayer, 1, 1>());
2260 StaticType::Get<EbtInt, EbpHigh, EvqLayer, 1, 1>());
2301 StaticType::Get<EbtInt, EbpHigh, EvqPrimitiveID, 1, 1>());
[all …]
DIntermNode.cpp64 case EbtInt: in UndefinedConstantFoldingError()
1210 setType(TType(EbtInt, EbpUndefined, EvqConst)); in promote()
1223 setType(TType(EbtInt, EbpHigh, resultQualifier, operandPrimarySize)); in promote()
1271 setType(TType(EbtInt, EbpLow, resultQualifier, operandPrimarySize)); in promote()
1274 setType(TType(EbtInt, EbpLow, resultQualifier, operandPrimarySize)); in promote()
1277 setType(TType(EbtInt, EbpLow, resultQualifier, operandPrimarySize)); in promote()
2159 case EbtInt: in FoldBinary()
2617 case EbtInt: in foldUnaryComponentWise()
2655 case EbtInt: in foldUnaryComponentWise()
2683 case EbtInt: in foldUnaryComponentWise()
[all …]
DSymbolTable.cpp321 TBasicType baseType = (type == EbtUInt) ? EbtInt : type; in getDefaultPrecision()
369 setDefaultPrecision(EbtInt, EbpUndefined); in initializeBuiltIns()
377 setDefaultPrecision(EbtInt, EbpMedium); in initializeBuiltIns()
382 setDefaultPrecision(EbtInt, EbpHigh); in initializeBuiltIns()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DConstantUnion.cpp64 return (rhs.getType() == EbtInt && (rhs.getIConst() >= 0 && rhs.getIConst() <= 31)) || in IsValidShiftOffset()
72 TConstantUnion::TConstantUnion(int i) : iConst(i), type(EbtInt) {} in TConstantUnion()
82 ASSERT(type == EbtInt); in getIConst()
96 case EbtInt: in getFConst()
116 case EbtInt: in isZero()
142 case EbtInt: in cast()
158 case EbtInt: in cast()
161 case EbtInt: in cast()
180 case EbtInt: in cast()
208 case EbtInt: in cast()
[all …]
DSymbolTable_ESSL_autogen.cpp2230 StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>());
2236 StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>());
2242 StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>());
2248 StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>());
2253 StaticType::Get<EbtInt, EbpHigh, EvqDrawID, 1, 1>());
2297 StaticType::Get<EbtInt, EbpHigh, EvqInstanceID, 1, 1>());
2303 StaticType::Get<EbtInt, EbpHigh, EvqInstanceID, 1, 1>());
2309 StaticType::Get<EbtInt, EbpHigh, EvqInvocationID, 1, 1>());
2315 StaticType::Get<EbtInt, EbpHigh, EvqInvocationID, 1, 1>());
2321 StaticType::Get<EbtInt, EbpHigh, EvqInvocationID, 1, 1>());
[all …]
DSymbolTable_autogen.cpp3427 StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>());
3433 StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>());
3439 StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>());
3445 StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>());
3450 StaticType::Get<EbtInt, EbpHigh, EvqDrawID, 1, 1>());
3494 StaticType::Get<EbtInt, EbpHigh, EvqInstanceID, 1, 1>());
3500 StaticType::Get<EbtInt, EbpHigh, EvqInstanceID, 1, 1>());
3506 StaticType::Get<EbtInt, EbpHigh, EvqInvocationID, 1, 1>());
3512 StaticType::Get<EbtInt, EbpHigh, EvqInvocationID, 1, 1>());
3518 StaticType::Get<EbtInt, EbpHigh, EvqInvocationID, 1, 1>());
[all …]
Dutil.cpp263 case EbtInt: in GLVariableType()
409 else if (type.getBasicType() == EbtInt || type.getBasicType() == EbtUInt) in GLVariablePrecision()
658 return TType(EbtInt); in GetShaderVariableBasicType()
660 return TType(EbtInt, 2); in GetShaderVariableBasicType()
662 return TType(EbtInt, 3); in GetShaderVariableBasicType()
664 return TType(EbtInt, 4); in GetShaderVariableBasicType()
875 case EbtInt: in GetConversion()
878 case EbtInt: in GetConversion()
892 case EbtInt: in GetConversion()
906 case EbtInt: in GetConversion()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DConstantUnion.h40 case EbtInt: setFConst(static_cast<float>(constant.getIConst())); break; in cast()
47 case EbtInt: in cast()
50 case EbtInt: setIConst(static_cast<int>(constant.getIConst())); break; in cast()
60 case EbtInt: setUConst(static_cast<unsigned int>(constant.getIConst())); break; in cast()
70 case EbtInt: setBConst(constant.getIConst() != 0); break; in cast()
80 case EbtInt: setIConst(constant.getIConst()); break; in cast()
94 void setIConst(int i) {iConst = i; type = EbtInt; } in setIConst()
110 case EbtInt: return reinterpret_cast<const float&>(iConst); in getAsFloat()
144 case EbtInt:
186 case EbtInt:
[all …]
DSymbolTable.h271 case EbtGenIType: return new TType(EbtInt, size); in GenType()
292 case EbtIVec: return new TType(EbtInt, size); in VecType()
348 …TVariable *constant = new TVariable(NewPoolTString(name), TType(EbtInt, EbpUndefined, EvqConstExpr… in insertConstInt()
360 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler2D), ptype2…
368 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler3D), ptype2…
376 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISamplerCube), ptyp…
384 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler2DArray), p…
465 if (type.type != EbtFloat && type.type != EbtInt) in setDefaultPrecision()
478 if (type == EbtUInt) type = EbtInt; in getDefaultPrecision()
480 if( type != EbtFloat && type != EbtInt ) return EbpUndefined; in getDefaultPrecision()
DBaseTypes.h50 EbtInt, enumerator
112 case EbtInt: return "int"; in getBasicString()
335 return type == EbtInt || type == EbtUInt; in IsInteger()
340 return type == EbtFloat || type == EbtInt || type == EbtUInt || IsSampler(type); in SupportsPrecision()
/third_party/glslang/glslang/Include/
DConstantUnion.h50 TConstUnion() : iConst(0), type(EbtInt) { } in POOL_ALLOCATOR_NEW_DELETE()
79 type = EbtInt; in setIConst()
216 case EbtInt:
335 case EbtInt:
428 case EbtInt:
449 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break;
471 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break;
493 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break;
515 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break;
542 case EbtInt: returnValue.setI8Const(i8Const >> constant.iConst); break;
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShaderImage_test.cpp43 ASSERT_EQ(EbtInt, storeArgument2Typed->getBasicType()); in CheckImageStoreCall()
70 ASSERT_EQ(EbtInt, loadArgument2Typed->getBasicType()); in CheckImageLoadCall()
194 mangledName2D += StaticType::GetBasic<EbtInt, 2>()->getMangledName(); in TEST_F()
200 mangledName3D += StaticType::GetBasic<EbtInt, 3>()->getMangledName(); in TEST_F()
224 mangledName2D += StaticType::GetBasic<EbtInt, 2>()->getMangledName(); in TEST_F()
231 mangledName2DArray += StaticType::GetBasic<EbtInt, 3>()->getMangledName(); in TEST_F()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShaderImage_test.cpp43 ASSERT_EQ(EbtInt, storeArgument2Typed->getBasicType()); in CheckImageStoreCall()
70 ASSERT_EQ(EbtInt, loadArgument2Typed->getBasicType()); in CheckImageLoadCall()
194 mangledName2D += StaticType::GetBasic<EbtInt, EbpUndefined, 2>()->getMangledName(); in TEST_F()
200 mangledName3D += StaticType::GetBasic<EbtInt, EbpUndefined, 3>()->getMangledName(); in TEST_F()
224 mangledName2D += StaticType::GetBasic<EbtInt, EbpUndefined, 2>()->getMangledName(); in TEST_F()
231 mangledName2DArray += StaticType::GetBasic<EbtInt, EbpUndefined, 3>()->getMangledName(); in TEST_F()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DDeclareAndInitBuiltinsForInstancedMultiview.cpp61 TType(EbtInt, EbpHigh, EvqTemporary), &normalizedInstanceIDCastArguments); in InitializeViewIDAndInstanceID()
89 TType(EbtInt, EbpHigh, EvqTemporary), &viewIDSymbolCastArguments); in SelectViewIndexInVertexShader()
114 CreateZeroNode(TType(EbtInt, EbpHigh, EvqConst))); in SelectViewIndexInVertexShader()
150 const TType *instanceIDVariableType = StaticType::Get<EbtInt, EbpHigh, EvqGlobal, 1, 1>(); in DeclareAndInitBuiltinsForInstancedMultiview()
174 StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>(); in DeclareAndInitBuiltinsForInstancedMultiview()
DClampIndirectIndices.cpp88 const TBasicType requiredBasicType = useFloatClamp ? EbtFloat : EbtInt; in visitBinary()
92 : StaticType::GetBasic<EbtInt, EbpHigh>(); in visitBinary()
109 clamped = TIntermAggregate::CreateConstructor(*StaticType::GetBasic<EbtInt, EbpHigh>(), in visitBinary()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DDeclareAndInitBuiltinsForInstancedMultiview.cpp60 TType(EbtInt, EbpHigh, EvqTemporary), normalizedInstanceIDCastArguments); in InitializeViewIDAndInstanceID()
88 TType(EbtInt, EbpHigh, EvqTemporary), viewIDSymbolCastArguments); in SelectViewIndexInVertexShader()
113 CreateZeroNode(TType(EbtInt, EbpHigh, EvqConst))); in SelectViewIndexInVertexShader()
145 const TType *instanceIDVariableType = StaticType::Get<EbtInt, EbpHigh, EvqGlobal, 1, 1>(); in DeclareAndInitBuiltinsForInstancedMultiview()
166 StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>(); in DeclareAndInitBuiltinsForInstancedMultiview()
DEmulateMultiDrawShaderBuiltins.cpp112 const TType *type = StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>(); in EmulateGLDrawID()
149 const TType *type = StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>(); in EmulateGLBaseVertex()
186 const TType *type = StaticType::Get<EbtInt, EbpHigh, EvqUniform, 1, 1>(); in EmulateGLBaseInstance()
DRemoveDynamicIndexing.cpp28 const TType *kIndexType = StaticType::Get<EbtInt, EbpHigh, EvqIn, 1, 1>();
50 case EbtInt: in GetIndexFunctionName()
74 return new TIntermConstantUnion(constant, TType(EbtInt, EbpHigh)); in CreateIntConstantNode()
79 if (node->getBasicType() == EbtInt) in EnsureSignedInt()
84 return TIntermAggregate::CreateConstructor(TType(EbtInt), arguments); in EnsureSignedInt()
/third_party/glslang/glslang/MachineIndependent/
DIntermediate.cpp389 case EOpConstructInt: newType = EbtInt; break; in addUnaryMath()
574 case EbtInt: newOp = EOpConvIntToDouble; break; in buildConvertOp()
589 case EbtInt: newOp = EOpConvIntToFloat; break; in buildConvertOp()
613 case EbtInt: newOp = EOpConvIntToFloat16; break; in buildConvertOp()
627 case EbtInt: newOp = EOpConvIntToBool; break; in buildConvertOp()
650 case EbtInt: newOp = EOpConvIntToInt8; break; in buildConvertOp()
667 case EbtInt: newOp = EOpConvIntToUint8; break; in buildConvertOp()
685 case EbtInt: newOp = EOpConvIntToInt16; break; in buildConvertOp()
702 case EbtInt: newOp = EOpConvIntToUint16; break; in buildConvertOp()
716 case EbtInt: in buildConvertOp()
[all …]
Dglslang.y530 $$.function = new TFunction(&method->getMethodName(), TType(EbtInt), EOpArrayLength);
1672 $$.basicType = EbtInt;
1715 $$.basicType = EbtInt;
1720 $$.basicType = EbtInt;
1725 $$.basicType = EbtInt;
1852 $$.basicType = EbtInt;
1986 $$.basicType = EbtInt;
1992 $$.basicType = EbtInt;
1998 $$.basicType = EbtInt;
2568 $$.sampler.set(EbtInt, Esd1D);
[all …]
/third_party/glslang/glslang/HLSL/
DhlslGrammar.cpp835 basicType = EbtInt; in acceptTemplateVecMatBasicType()
1150 case EbtInt: in acceptSubpassInputType()
1331 case EbtInt: in acceptTextureType()
1434 const TBasicType min16int_bt = enable16BitTypes ? EbtInt16 : EbtInt; in acceptType()
1435 const TBasicType min12int_bt = enable16BitTypes ? EbtInt16 : EbtInt; in acceptType()
1615 new(&type) TType(EbtInt); in acceptType()
1618 new(&type) TType(EbtInt); in acceptType()
1622 new(&type) TType(EbtInt, EvqTemporary, 2); in acceptType()
1625 new(&type) TType(EbtInt, EvqTemporary, 3); in acceptType()
1628 new(&type) TType(EbtInt, EvqTemporary, 4); in acceptType()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DTranslatorMetalUtils.cpp31 case EbtInt: in getBasicMetalString()
248 case EbtInt: in getBuiltInMetalTypeNameString()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DDriverUniform.cpp95 new TType(EbtInt, EbpHigh, EvqGlobal), in createUniformFields()
96 new TType(EbtInt, EbpLow, EvqGlobal), // uint numSamples; // Up to 16 in createUniformFields()
97 new TType(EbtInt, EbpHigh, EvqGlobal, 4), in createUniformFields()
209 new TIntermConstantUnion(uniformIndex, *StaticType::GetBasic<EbtInt, EbpLow>()); in createDriverUniformRef()

12345