Home
last modified time | relevance | path

Searched refs:EbpMedium (Results 1 – 25 of 26) sorted by relevance

12

/external/angle/src/tests/compiler_tests/
DType_test.cpp26 const TType *staticTypeScalar = StaticType::Get<EbtFloat, EbpMedium, EvqGlobal, 1, 1>(); in TEST()
27 const TType *staticTypeVec2 = StaticType::Get<EbtFloat, EbpMedium, EvqGlobal, 2, 1>(); in TEST()
28 const TType *staticTypeMat2x4 = StaticType::Get<EbtFloat, EbpMedium, EvqGlobal, 2, 4>(); in TEST()
29 TType *typeScalar = new TType(EbtFloat, EbpMedium, EvqGlobal, 1, 1); in TEST()
30 TType *typeVec2 = new TType(EbtFloat, EbpMedium, EvqGlobal, 2, 1); in TEST()
31 TType *typeMat2x4 = new TType(EbtFloat, EbpMedium, EvqGlobal, 2, 4); in TEST()
DInitOutputVariables_test.cpp260 CreateLValueNode(ImmutableString("out1"), TType(EbtFloat, EbpMedium, EvqVertexOut, 4)), in TEST_F()
262 CreateLValueNode(ImmutableString("out3"), TType(EbtFloat, EbpMedium, EvqCentroidOut)), in TEST_F()
263 CreateLValueNode(ImmutableString("out4"), TType(EbtFloat, EbpMedium, EvqSmoothOut))}; in TEST_F()
280 ImmutableString("out1"), TType(EbtFloat, EbpMedium, EvqVertexOut), 2); in TEST_F()
324 CreateLValueNode(ImmutableString("out1"), TType(EbtFloat, EbpMedium, EvqVaryingOut, 4)); in TEST_F()
342 CreateLValueNode(ImmutableString("out1"), TType(EbtFloat, EbpMedium, EvqFragmentOut, 4)); in TEST_F()
360 ImmutableString("gl_FragData"), TType(EbtFloat, EbpMedium, EvqFragData, 4), 1); in TEST_F()
380 ImmutableString("gl_FragData"), TType(EbtFloat, EbpMedium, EvqFragData, 4), 2); in TEST_F()
399 ImmutableString("gl_FragData"), TType(EbtFloat, EbpMedium, EvqFragData, 4), 2); in TEST_F()
/external/swiftshader/src/OpenGL/compiler/
DBaseTypes.h28 EbpMedium, enumerator
37 case EbpMedium: return "mediump"; break; in getPrecisionString()
DInitialize.cpp488 …BUILTINS, new TVariable(NewPoolTString("gl_FragCoord"), TType(EbtFloat, EbpMedium, EvqFragCoord, … in IdentifyBuiltIns()
490 …UILTINS, new TVariable(NewPoolTString("gl_PointCoord"), TType(EbtFloat, EbpMedium, EvqPointCoord, … in IdentifyBuiltIns()
491 …BUILTINS, new TVariable(NewPoolTString("gl_FragColor"), TType(EbtFloat, EbpMedium, EvqFragColor, … in IdentifyBuiltIns()
492 …iable(NewPoolTString("gl_FragData[gl_MaxDrawBuffers]"), TType(EbtFloat, EbpMedium, EvqFragData, … in IdentifyBuiltIns()
497 …BUILTINS, new TVariable(NewPoolTString("gl_PointSize"), TType(EbtFloat, EbpMedium, EvqPointSize, … in IdentifyBuiltIns()
510 TType fragData(EbtFloat, EbpMedium, EvqFragData, 4, 1, true); in IdentifyBuiltIns()
DCompiler.cpp187 symbolTable.setDefaultPrecision(integer, EbpMedium); in InitBuiltInSymbolTable()
Dglslang.y1022 $$ = EbpMedium;
DOutputASM.cpp185 case EbpMedium: return GL_MEDIUM_FLOAT; in glVariablePrecision()
197 case EbpMedium: return GL_MEDIUM_INT; in glVariablePrecision()
/external/angle/src/compiler/translator/tree_ops/
DForcePrecisionQualifier.cpp38 type->setPrecision(EbpMedium); in overwriteVariablePrecision()
DScalarizeVecAndMatConstructorArgs.cpp203 type->setPrecision(mFragmentPrecisionHigh ? EbpHigh : EbpMedium); in createTempVariable()
DEmulatePrecision.cpp431 (type.getPrecision() == EbpLow || type.getPrecision() == EbpMedium); in canRoundFloat()
749 if (left->getPrecision() == EbpMedium) in createCompoundAssignmentFunctionCallNode()
DInitializeVariables.cpp107 const TType *mediumpIndexType = StaticType::Get<EbtInt, EbpMedium, EvqTemporary, 1, 1>(); in AddArrayZeroInitForLoop()
/external/angle/src/compiler/translator/tree_ops/gl/
DRecordConstantPrecision.cpp130 if (node->getPrecision() < EbpMedium) in visitConstantUnion()
/external/angle/src/compiler/translator/
Dutil.cpp398 case EbpMedium: in GLVariablePrecision()
415 case EbpMedium: in GLVariablePrecision()
DSymbolTable_ESSL_autogen.cpp2244 StaticType::Get<EbtFloat, EbpMedium, EvqFragColor, 4, 1>());
2249 StaticType::Get<EbtFloat, EbpMedium, EvqFragCoord, 4, 1>());
2313 StaticType::Get<EbtFloat, EbpMedium, EvqLastFragColor, 4, 1>());
2319 StaticType::Get<EbtFloat, EbpMedium, EvqLastFragColor, 4, 1>());
2405 StaticType::Get<EbtFloat, EbpMedium, EvqPointCoord, 2, 1>());
2410 StaticType::Get<EbtFloat, EbpMedium, EvqPointSize, 1, 1>());
2492 StaticType::Get<EbtFloat, EbpMedium, EvqSamplePosition, 2, 1>());
2498 StaticType::Get<EbtFloat, EbpMedium, EvqSamplePosition, 2, 1>());
2504 StaticType::Get<EbtFloat, EbpMedium, EvqSecondaryFragColorEXT, 4, 1>());
25474 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
[all …]
DBaseTypes.h28 EbpMedium, enumerator
41 case EbpMedium: in getPrecisionString()
DTranslatorMetalDirect.cpp392 TType *gl_FragDataType = new TType(EbtFloat, EbpMedium, EvqFragData, 4, 1); in AddFragDataDeclaration()
411 TType *gl_FragDataTypeArray = new TType(EbtFloat, EbpMedium, EvqGlobal, 4, 1); in AddFragDataDeclaration()
DSymbolTable.cpp413 setDefaultPrecision(EbtInt, EbpMedium); in initializeBuiltIns()
DSymbolTable_autogen.cpp3448 StaticType::Get<EbtFloat, EbpMedium, EvqFragColor, 4, 1>());
3453 StaticType::Get<EbtFloat, EbpMedium, EvqFragCoord, 4, 1>());
3517 StaticType::Get<EbtFloat, EbpMedium, EvqLastFragColor, 4, 1>());
3523 StaticType::Get<EbtFloat, EbpMedium, EvqLastFragColor, 4, 1>());
3609 StaticType::Get<EbtFloat, EbpMedium, EvqPointCoord, 2, 1>());
3614 StaticType::Get<EbtFloat, EbpMedium, EvqPointSize, 1, 1>());
3696 StaticType::Get<EbtFloat, EbpMedium, EvqSamplePosition, 2, 1>());
3702 StaticType::Get<EbtFloat, EbpMedium, EvqSamplePosition, 2, 1>());
3708 StaticType::Get<EbtFloat, EbpMedium, EvqSecondaryFragColorEXT, 4, 1>());
39425 StaticType::Get<EbtInt, EbpMedium, EvqConst, 1, 1>()); in initializeBuiltInVariables()
[all …]
DTranslatorVulkan.cpp281 TType *varyingType = new TType(EbtFloat, EbpMedium, qualifier, 2); in AddANGLEPositionVaryingDeclaration()
Dglslang.y922 $$ = EbpMedium;
DIntermNode.cpp1336 setType(TType(EbtFloat, EbpMedium, resultQualifier, 2)); in promote()
1340 setType(TType(EbtFloat, EbpMedium, resultQualifier, 4)); in promote()
DBuildSPIRV.cpp530 (precision == EbpMedium || precision == EbpLow)) in getDecorations()
DParseContext.cpp3263 TIntermNode *node = CreateZeroNode(TType(EbtInt, EbpMedium)); in addEmptyStatement()
6954 return CreateZeroNode(TType(EbtFloat, EbpMedium, EvqConst)); in addNonConstructorFunctionCall()
Dglslang_tab_autogen.cpp3782 (yyval.interm.precision) = EbpMedium; in yyparse()
/external/angle/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp311 TType *clipCullDistanceType = new TType(EbtFloat, EbpMedium, EvqGlobal, 1); in declareANGLEVariable()

12