/external/angle/src/compiler/translator/ |
D | ConstantUnion.cpp | 65 (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 …]
|
D | util.cpp | 310 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()
|
D | SymbolTable_autogen.cpp | 2646 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 …]
|
D | IntermNode.cpp | 67 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 …]
|
D | SymbolTable_ESSL_autogen.cpp | 1385 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 …]
|
D | StaticType.h | 224 static_assert(basicType == EbtFloat || basicType == EbtInt || basicType == EbtUInt || in GetForVecMatHelper() 250 static_assert(basicType == EbtFloat || basicType == EbtInt || basicType == EbtUInt ||
|
D | Types.cpp | 33 case EbtUInt: in getBasicString() 224 case EbtUInt: in canBeConstructed() 326 case EbtUInt: in getBuiltInTypeNameString()
|
D | ConstantUnion.h | 34 type = EbtUInt; in setUConst()
|
D | BaseTypes.h | 59 EbtUInt, enumerator 900 return type == EbtInt || type == EbtUInt; in IsInteger() 905 return type == EbtFloat || type == EbtInt || type == EbtUInt || IsOpaqueType(type); in SupportsPrecision()
|
D | TranslatorVulkan.cpp | 418 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()
|
D | FunctionLookup.cpp | 100 if (argType == EbtInt || argType == EbtUInt) in GetMangledNames()
|
D | glslang.y | 991 $$.initialize(EbtUInt, @1); 1033 $$.initialize(EbtUInt, @1); 1037 $$.initialize(EbtUInt, @1); 1041 $$.initialize(EbtUInt, @1);
|
/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()
|
D | glslang.y | 260 …$$ = 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);
|
D | SymbolTable.cpp | 60 case EbtUInt: mangledName += 'u'; break; in buildMangledName()
|
/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()
|
D | RewriteAtomicCounters.cpp | 32 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/ |
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()
|
D | ConstantFoldingTest.h | 110 if (node.getType() != EbtUInt) in isEqual()
|