Home
last modified time | relevance | path

Searched refs:CreateFloatNode (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DSpecializationConstant.cpp63 mat2Args.push_back(CreateFloatNode(matrix[rotation][0], EbpLow)); in CreateMat2x2()
64 mat2Args.push_back(CreateFloatNode(matrix[rotation][1], EbpLow)); in CreateMat2x2()
65 mat2Args.push_back(CreateFloatNode(matrix[rotation][2], EbpLow)); in CreateMat2x2()
66 mat2Args.push_back(CreateFloatNode(matrix[rotation][3], EbpLow)); in CreateMat2x2()
120 vec2Args.push_back(CreateFloatNode(vec2Values[rotation][0], EbpLow)); in CreateVec2()
121 vec2Args.push_back(CreateFloatNode(vec2Values[rotation][1] * yscale, EbpLow)); in CreateVec2()
206 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Identity][subscript] * scale, EbpLow), in CreateFloatArrayWithRotationIndex()
207 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated90Degrees][subscript] * scale, in CreateFloatArrayWithRotationIndex()
209 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated180Degrees][subscript] * scale, in CreateFloatArrayWithRotationIndex()
211 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated270Degrees][subscript] * scale, in CreateFloatArrayWithRotationIndex()
[all …]
DReplaceClipCullDistanceVariable.cpp234 new TIntermBinary(EOpAssign, left->deepCopy(), CreateFloatNode(0, EbpMedium)); in assignFuncWithEnableFlags()
391 new TIntermBinary(EOpAssign, left, CreateFloatNode(0, EbpMedium)); in assignANGLEValueToOriginalVariableImpl()
DIntermNode_util.h26 TIntermConstantUnion *CreateFloatNode(float value, TPrecision precision);
DIntermNode_util.cpp116 TIntermConstantUnion *CreateFloatNode(float value, TPrecision precision) in CreateFloatNode() function
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp93 duValue = new TIntermBinary(EOpMul, duValue, CreateFloatNode(0.5f, EbpMedium)); in TransformDerivativeXMajor()
94 dvValue = new TIntermBinary(EOpMul, dvValue, CreateFloatNode(0.5f, EbpMedium)); in TransformDerivativeXMajor()
146 duValue = new TIntermBinary(EOpMul, duValue, CreateFloatNode(0.5f, EbpMedium)); in TransformDerivativeYMajor()
147 dvValue = new TIntermBinary(EOpMul, dvValue, CreateFloatNode(0.5f, EbpMedium)); in TransformDerivativeYMajor()
199 duValue = new TIntermBinary(EOpMul, duValue, CreateFloatNode(0.5f, EbpMedium)); in TransformDerivativeZMajor()
200 dvValue = new TIntermBinary(EOpMul, dvValue, CreateFloatNode(0.5f, EbpMedium)); in TransformDerivativeZMajor()
463 new TIntermBinary(EOpDiv, CreateFloatNode(1.0, EbpMedium), p->deepCopy()); in declareCoordTranslationFunction()
469 p->deepCopy(), new TIntermBinary(EOpVectorTimesScalar, CreateFloatNode(0.5, EbpMedium), in declareCoordTranslationFunction()
570 new TIntermBinary(EOpAdd, CreateFloatNode(2.0f, EbpMedium), in declareCoordTranslationFunction()
580 new TIntermBinary(EOpAdd, CreateFloatNode(4.0f, EbpMedium), in declareCoordTranslationFunction()
[all …]
DConvertUnsupportedConstructorsToFunctionCalls.cpp139 returnCtorArgs->push_back(CreateFloatNode(0.0f, sh::EbpUndefined)); in AppendMatrixFromScalarArgument()
169 CreateFloatNode(dstRow == dstCol ? 1.0f : 0.0f, sh::EbpUndefined)); in AppendMatrixFromMatrixArgument()
DClampIndirectIndices.cpp125 return CreateFloatNode(static_cast<float>(value), EbpHigh); in createClampValue()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorMetal.cpp310 vec4Args.push_back(CreateFloatNode(-3.0f, EbpMedium)); in insertRasterizerDiscardLogic()
311 vec4Args.push_back(CreateFloatNode(-3.0f, EbpMedium)); in insertRasterizerDiscardLogic()
312 vec4Args.push_back(CreateFloatNode(-3.0f, EbpMedium)); in insertRasterizerDiscardLogic()
313 vec4Args.push_back(CreateFloatNode(1.0f, EbpMedium)); in insertRasterizerDiscardLogic()
DTranslatorVulkan.cpp352 new TIntermBinary(EOpAdd, CreateTempSymbolNode(ndc), CreateFloatNode(1.0f, EbpMedium)); in AddBresenhamEmulationVS()
356 new TIntermBinary(EOpVectorTimesScalar, ndcViewport, CreateFloatNode(0.5f, EbpMedium)); in AddBresenhamEmulationVS()
366 CreateFloatNode(static_cast<float>(1 << subpixelBits), EbpHigh); in AddBresenhamEmulationVS()
382 new TIntermBinary(EOpVectorTimesScalar, clampedOffset, CreateFloatNode(2.0f, EbpMedium)); in AddBresenhamEmulationVS()
385 new TIntermBinary(EOpSub, clampedDivided, CreateFloatNode(1.0f, EbpMedium)); in AddBresenhamEmulationVS()
700 TIntermConstantUnion *oneHalf = CreateFloatNode(0.5f, EbpMedium); in AddBresenhamEmulationFS()
755 TIntermConstantUnion *threshold = CreateFloatNode(kThreshold, EbpHigh); in AddBresenhamEmulationFS()
1109 TIntermConstantUnion *pivot = CreateFloatNode(0.5f, EbpMedium); in translateImpl()
1135 TIntermConstantUnion *pivot = CreateFloatNode(0.5f, EbpMedium); in translateImpl()
DTranslatorMetalDirect.cpp553 vec4Args->push_back(CreateFloatNode(-3.0f, EbpMedium)); in insertRasterizationDiscardLogic()
554 vec4Args->push_back(CreateFloatNode(-3.0f, EbpMedium)); in insertRasterizationDiscardLogic()
555 vec4Args->push_back(CreateFloatNode(-3.0f, EbpMedium)); in insertRasterizationDiscardLogic()
556 vec4Args->push_back(CreateFloatNode(1.0f, EbpMedium)); in insertRasterizationDiscardLogic()
616 TIntermConstantUnion *oneHalf = CreateFloatNode(0.5f, EbpMedium); in appendVertexShaderDepthCorrectionToMain()
916 TIntermConstantUnion *pivot = CreateFloatNode(0.5f, EbpMedium); in translateImpl()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DRewriteR32fImages.cpp241 TIntermSequence constructorArgs = {replacementCall, CreateFloatNode(1.0f, EbpMedium)}; in RewriteBuiltinFunctionCall()