Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/tree_util/
DSpecializationConstant.cpp76 mat2Args.push_back(CreateFloatNode(matrix[rotation][0])); in CreateMat2x2()
77 mat2Args.push_back(CreateFloatNode(matrix[rotation][1])); in CreateMat2x2()
78 mat2Args.push_back(CreateFloatNode(matrix[rotation][2])); in CreateMat2x2()
79 mat2Args.push_back(CreateFloatNode(matrix[rotation][3])); in CreateMat2x2()
133 vec2Args.push_back(CreateFloatNode(vec2Values[rotation][0])); in CreateVec2()
134 vec2Args.push_back(CreateFloatNode(vec2Values[rotation][1] * yscale)); in CreateVec2()
219 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Identity][subscript] * scale), in CreateFloatArrayWithRotationIndex()
220 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated90Degrees][subscript] * scale), in CreateFloatArrayWithRotationIndex()
221 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated180Degrees][subscript] * scale), in CreateFloatArrayWithRotationIndex()
222 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated270Degrees][subscript] * scale), in CreateFloatArrayWithRotationIndex()
[all …]
DIntermNode_util.h26 TIntermConstantUnion *CreateFloatNode(float value);
DReplaceClipCullDistanceVariable.cpp232 new TIntermBinary(EOpAssign, left->deepCopy(), CreateFloatNode(0)); in assignFuncWithEnableFlags()
387 new TIntermBinary(EOpAssign, left, CreateFloatNode(0)); in assignANGLEValueToOriginalVariableImpl()
DIntermNode_util.cpp116 TIntermConstantUnion *CreateFloatNode(float value) in CreateFloatNode() function
/external/angle/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp93 duValue = new TIntermBinary(EOpMul, duValue, CreateFloatNode(0.5f)); in TransformDerivativeXMajor()
94 dvValue = new TIntermBinary(EOpMul, dvValue, CreateFloatNode(0.5f)); in TransformDerivativeXMajor()
146 duValue = new TIntermBinary(EOpMul, duValue, CreateFloatNode(0.5f)); in TransformDerivativeYMajor()
147 dvValue = new TIntermBinary(EOpMul, dvValue, CreateFloatNode(0.5f)); in TransformDerivativeYMajor()
199 duValue = new TIntermBinary(EOpMul, duValue, CreateFloatNode(0.5f)); in TransformDerivativeZMajor()
200 dvValue = new TIntermBinary(EOpMul, dvValue, CreateFloatNode(0.5f)); in TransformDerivativeZMajor()
462 TIntermTyped *pRecip = new TIntermBinary(EOpDiv, CreateFloatNode(1.0), p->deepCopy()); in declareCoordTranslationFunction()
469 new TIntermBinary(EOpVectorTimesScalar, CreateFloatNode(0.5), pRecipVar->deepCopy())}; in declareCoordTranslationFunction()
569 new TIntermBinary(EOpAdd, CreateFloatNode(2.0f), in declareCoordTranslationFunction()
579 new TIntermBinary(EOpAdd, CreateFloatNode(4.0f), in declareCoordTranslationFunction()
[all …]
DClampIndirectIndices.cpp125 return CreateFloatNode(static_cast<float>(value)); in createClampValue()
/external/angle/src/compiler/translator/
DTranslatorMetal.cpp372 vec4Args.push_back(CreateFloatNode(-3.0f)); in insertRasterizerDiscardLogic()
373 vec4Args.push_back(CreateFloatNode(-3.0f)); in insertRasterizerDiscardLogic()
374 vec4Args.push_back(CreateFloatNode(-3.0f)); in insertRasterizerDiscardLogic()
375 vec4Args.push_back(CreateFloatNode(1.0f)); in insertRasterizerDiscardLogic()
DTranslatorVulkan.cpp322 new TIntermBinary(EOpAdd, CreateTempSymbolNode(ndc), CreateFloatNode(1.0f)); in AddBresenhamEmulationVS()
326 new TIntermBinary(EOpVectorTimesScalar, ndcViewport, CreateFloatNode(0.5f)); in AddBresenhamEmulationVS()
335 TIntermConstantUnion *scaleConstant = CreateFloatNode(static_cast<float>(1 << subpixelBits)); in AddBresenhamEmulationVS()
351 new TIntermBinary(EOpVectorTimesScalar, clampedOffset, CreateFloatNode(2.0f)); in AddBresenhamEmulationVS()
353 TIntermBinary *clampedNDC = new TIntermBinary(EOpSub, clampedDivided, CreateFloatNode(1.0f)); in AddBresenhamEmulationVS()
667 TIntermConstantUnion *oneHalf = CreateFloatNode(0.5f); in AddBresenhamEmulationFS()
721 TIntermConstantUnion *threshold = CreateFloatNode(kThreshold); in AddBresenhamEmulationFS()
1082 TIntermConstantUnion *pivot = CreateFloatNode(0.5f); in translateImpl()
1108 TIntermConstantUnion *pivot = CreateFloatNode(0.5f); in translateImpl()
DTranslatorMetalDirect.cpp559 vec4Args->push_back(CreateFloatNode(-3.0f)); in insertRasterizationDiscardLogic()
560 vec4Args->push_back(CreateFloatNode(-3.0f)); in insertRasterizationDiscardLogic()
561 vec4Args->push_back(CreateFloatNode(-3.0f)); in insertRasterizationDiscardLogic()
562 vec4Args->push_back(CreateFloatNode(1.0f)); in insertRasterizationDiscardLogic()
951 TIntermConstantUnion *pivot = CreateFloatNode(0.5f); in translateImpl()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteR32fImages.cpp241 TIntermSequence constructorArgs = {replacementCall, CreateFloatNode(1.0f)}; in RewriteBuiltinFunctionCall()