/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 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()
|
D | SymbolTable.h | 272 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()
|
D | Intermediate.cpp | 151 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()
|
D | OutputASM.cpp | 102 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 …]
|
D | ValidateSwitch.cpp | 142 else if (conditionType == EbtUInt) in visitCase()
|
/external/angle/src/compiler/translator/ |
D | ConstantUnion.cpp | 65 (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 …]
|
D | util.cpp | 269 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()
|
D | SymbolTable_autogen.cpp | 3470 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobalInvocationID, 3, 1>()); 3556 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationID, 3, 1>()); 3562 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationIndex, 1, 1>()); 3579 StaticType::Get<EbtUInt, EbpUndefined, EvqNumWorkGroups, 3, 1>()); 3728 StaticType::Get<EbtUInt, EbpHigh, EvqViewIDOVR, 1, 1>()); 3740 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupID, 3, 1>()); 3746 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupSize, 3, 1>()); 3766 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 1, 1>()); 4262 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 2, 1>()); 4287 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 3, 1>()); [all …]
|
D | SymbolTable_ESSL_autogen.cpp | 2266 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobalInvocationID, 3, 1>()); 2352 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationID, 3, 1>()); 2358 StaticType::Get<EbtUInt, EbpUndefined, EvqLocalInvocationIndex, 1, 1>()); 2375 StaticType::Get<EbtUInt, EbpUndefined, EvqNumWorkGroups, 3, 1>()); 2524 StaticType::Get<EbtUInt, EbpHigh, EvqViewIDOVR, 1, 1>()); 2536 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupID, 3, 1>()); 2542 StaticType::Get<EbtUInt, EbpUndefined, EvqWorkGroupSize, 3, 1>()); 2557 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 1, 1>()); 2950 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 2, 1>()); 2970 StaticType::Get<EbtUInt, EbpUndefined, EvqGlobal, 3, 1>()); [all …]
|
D | IntermNode.cpp | 67 case EbtUInt: in UndefinedConstantFoldingError() 1318 setType(TType(EbtUInt, EbpHigh, resultQualifier, operandPrimarySize)); in promote() 1329 setType(TType(EbtUInt, EbpHigh, resultQualifier)); in promote() 2115 if (constArray && mType.getBasicType() == EbtUInt) in fold() 2350 case EbtUInt: in FoldBinary() 2634 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise() 2653 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise() 2672 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise() 2701 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise() 2713 ASSERT(getType().getBasicType() == EbtUInt); in foldUnaryNonComponentWise() [all …]
|
D | BuildSPIRV.cpp | 461 uintType.type = EbtUInt; in getSpirvTypeData() 693 case EbtUInt: in declareType() 832 sampledType = EbtUInt; in getImageTypeParameters() 836 sampledType = EbtUInt; in getImageTypeParameters() 841 sampledType = EbtUInt; in getImageTypeParameters() 846 sampledType = EbtUInt; in getImageTypeParameters() 863 sampledType = EbtUInt; in getImageTypeParameters() 903 sampledType = EbtUInt; in getImageTypeParameters() 908 sampledType = EbtUInt; in getImageTypeParameters() 949 sampledType = EbtUInt; in getImageTypeParameters() [all …]
|
D | StaticType.h | 230 static_assert(basicType == EbtFloat || basicType == EbtInt || basicType == EbtUInt || in GetForVecMatHelper() 256 static_assert(basicType == EbtFloat || basicType == EbtInt || basicType == EbtUInt ||
|
D | TranslatorMetal.cpp | 131 new TType(EbtUInt), // kCoverageMask in createUniformFields() 314 TType *uintType = new TType(EbtUInt); in insertSampleMaskWritingLogic()
|
D | ConstantUnion.h | 38 type = EbtUInt; in setUConst()
|
D | Types.cpp | 33 case EbtUInt: in getBasicString() 264 case EbtUInt: in canBeConstructed() 366 case EbtUInt: in getBuiltInTypeNameString()
|
D | ValidateClipCullDistance.cpp | 116 case EbtUInt: in visitBinary()
|
D | OutputSPIRV.cpp | 698 const spirv::IdRef uintTypeId = mBuilder.getBasicTypeId(EbtUInt, 1); in accessChainPushDynamicComponent() 699 const spirv::IdRef uvecTypeId = mBuilder.getBasicTypeId(EbtUInt, swizzleIds.size()); in accessChainPushDynamicComponent() 1034 basicType == EbtUInt || basicType == EbtBool); in createConstant() 1057 expectedBasicType == EbtUInt || expectedBasicType == EbtBool); in createConstant() 1076 case EbtUInt: in createConstant() 1336 case EbtUInt: in createConstructorMatrixFromScalar() 1525 case EbtUInt: in createConstructorMatrixFromMatrix() 1937 const bool isUnsigned = basicType == EbtUInt; in visitOperator() 2870 const bool isUnsigned = isImage ? IsUIntImage(operandBasicType) : operandBasicType == EbtUInt; in createAtomicBuiltIn() 3798 case EbtUInt: in castBasicType() [all …]
|
/external/angle/src/compiler/translator/tree_util/ |
D | DriverUniform.cpp | 57 new TType(EbtUInt, 4), in addComputeDriverUniformsToShader() 89 new TType(EbtUInt), // uint clipDistancesEnabled; // 32 bits for 32 clip distances max in createUniformFields() 90 new TType(EbtUInt), in createUniformFields() 94 new TType(EbtUInt, 4), in createUniformFields() 277 new TType(EbtUInt), in createUniformFields() 278 new TType(EbtUInt), in createUniformFields()
|
D | IntermNode_util.cpp | 67 case EbtUInt: in CreateZeroNode() 139 TType type(EbtUInt, EbpUndefined, EvqConst, 1); in CreateUIntNode()
|
/external/angle/src/compiler/translator/tree_ops/ |
D | DeclareAndInitBuiltinsForInstancedMultiview.cpp | 45 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()
|
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | IntroduceVertexIndexID.cpp | 23 StaticType::Get<EbtUInt, EbpHigh, EvqVertexID, 1, 1>()); 30 StaticType::Get<EbtUInt, EbpHigh, EvqInstanceID, 1, 1>());
|
D | TranslatorMetalUtils.cpp | 33 case EbtUInt: in getBasicMetalString() 274 case EbtUInt: in getBuiltInMetalTypeNameString()
|
/external/angle/src/tests/compiler_tests/ |
D | ShaderImage_test.cpp | 232 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/ |
D | ShaderCompileTreeTest.cpp | 86 case EbtUInt: in visitConstantUnion()
|