Home
last modified time | relevance | path

Searched refs:TIntermBinary (Results 1 – 25 of 145) sorted by relevance

123456

/external/angle/src/compiler/translator/tree_ops/vulkan/
DEmulateAdvancedBlendEquations.cpp145 TIntermTyped *notZero = new TIntermBinary(EOpNotEqual, equationUniform, CreateUIntNode(0)); in build()
370 TIntermTyped *diff = new TIntermBinary(EOpSub, maxv3, minv3); in generateHslHelperFunctions()
417 TIntermTyped *colorMinusLum = new TIntermBinary(EOpSub, color->deepCopy(), lum); in generateHslHelperFunctions()
420 new TIntermBinary(EOpVectorTimesScalar, colorMinusLum, lum->deepCopy()); in generateHslHelperFunctions()
422 TIntermTyped *lumMinusMincol = new TIntermBinary(EOpSub, lum->deepCopy(), mincol); in generateHslHelperFunctions()
425 new TIntermBinary(EOpDiv, colorMinusLumTimesLum, lumMinusMincol); in generateHslHelperFunctions()
428 new TIntermBinary(EOpAdd, lum->deepCopy(), negativeMincolLumOffset); in generateHslHelperFunctions()
432 new TIntermBinary(EOpAssign, color->deepCopy(), negativeMincolOffset)); in generateHslHelperFunctions()
435 TIntermTyped *lessZero = new TIntermBinary(EOpLessThan, mincol->deepCopy(), Float(0)); in generateHslHelperFunctions()
440 TIntermTyped *oneMinusLum = new TIntermBinary(EOpSub, Float(1.0f), lum->deepCopy()); in generateHslHelperFunctions()
[all …]
DEmulateDithering.cpp81 TIntermBinary *ditherControlShifted = new TIntermBinary( in EmitFragmentOutputDither()
85 TIntermBinary *thisDitherControlValue = in EmitFragmentOutputDither()
86 new TIntermBinary(EOpBitwiseAnd, ditherControlShifted, CreateUIntNode(3)); in EmitFragmentOutputDither()
113 new TIntermBinary(EOpMul, ditherParam->deepCopy(), CreateFloatNode(2.0f, EbpMedium)), in EmitFragmentOutputDither()
117 TIntermTyped *setDitherValue = new TIntermBinary(EOpAssign, ditherValue->deepCopy(), value); in EmitFragmentOutputDither()
132 TIntermTyped *setDitherValue = new TIntermBinary(EOpAssign, ditherValue->deepCopy(), value); in EmitFragmentOutputDither()
144 new TIntermBinary(EOpMul, ditherParam->deepCopy(), CreateFloatNode(0.5f, EbpMedium)), in EmitFragmentOutputDither()
149 TIntermTyped *setDitherValue = new TIntermBinary(EOpAssign, ditherValue->deepCopy(), value); in EmitFragmentOutputDither()
168 ditherBlock->appendStatement(new TIntermBinary(EOpAddAssign, fragmentOutput, ditherValue)); in EmitFragmentOutputDither()
202 TIntermBinary *element = new TIntermBinary(EOpIndexDirect, fragmentOutputSymbol->deepCopy(), in EmitFragmentVariableDither()
[all …]
/external/angle/src/compiler/translator/
DTranslatorVulkan.cpp226 rotatedXY = new TIntermBinary(EOpMatrixTimesVector, fragRotation, builtinXY); in RotateAndFlipBuiltinVariable()
235 TIntermBinary *removePivot = new TIntermBinary(EOpSub, rotatedXY, pivot); in RotateAndFlipBuiltinVariable()
236 TIntermBinary *inverseXY = new TIntermBinary(EOpMul, removePivot, flipXY); in RotateAndFlipBuiltinVariable()
237 TIntermBinary *plusPivot = new TIntermBinary(EOpAdd, inverseXY, pivot->deepCopy()); in RotateAndFlipBuiltinVariable()
240 TIntermBinary *assignment = in RotateAndFlipBuiltinVariable()
241 new TIntermBinary(EOpAssign, flippedBuiltinRef, builtinRef->deepCopy()); in RotateAndFlipBuiltinVariable()
246 TIntermBinary *assignToY = new TIntermBinary(EOpAssign, correctedXY, plusPivot); in RotateAndFlipBuiltinVariable()
373 TIntermBinary *noPerspective = new TIntermBinary(EOpDiv, glPosXY, glPosW); in AddBresenhamEmulationVS()
378 TIntermBinary *ndcPlusOne = in AddBresenhamEmulationVS()
379 new TIntermBinary(EOpAdd, CreateTempSymbolNode(ndc), CreateFloatNode(1.0f, EbpMedium)); in AddBresenhamEmulationVS()
[all …]
DTranslatorMetalDirect.cpp253 rotatedXY = new TIntermBinary(EOpMatrixTimesVector, fragRotation, builtinXY); in RotateAndFlipBuiltinVariable()
262 TIntermBinary *removePivot = new TIntermBinary(EOpSub, rotatedXY, pivot); in RotateAndFlipBuiltinVariable()
263 TIntermBinary *inverseXY = new TIntermBinary(EOpMul, removePivot, flipXY); in RotateAndFlipBuiltinVariable()
264 TIntermBinary *plusPivot = new TIntermBinary(EOpAdd, inverseXY, pivot->deepCopy()); in RotateAndFlipBuiltinVariable()
271 TIntermBinary *assignment = new TIntermBinary(EOpInitialize, flippedBuiltinRef, aggregate); in RotateAndFlipBuiltinVariable()
276 TIntermBinary *assignToY = new TIntermBinary(EOpAssign, correctedXY, plusPivot); in RotateAndFlipBuiltinVariable()
405 TIntermBinary *assignment = in AddFragDataDeclaration()
406 new TIntermBinary(TOperator::EOpAssign, glFragDataSlot, &access); in AddFragDataDeclaration()
444 TIntermBinary *inverseY = new TIntermBinary(EOpMul, positionY->deepCopy(), negFlipY); in AppendVertexShaderPositionYCorrectionToMain()
448 TIntermBinary *assignment = new TIntermBinary(TOperator::EOpAssign, positionYLHS, inverseY); in AppendVertexShaderPositionYCorrectionToMain()
[all …]
DTranslatorMetal.cpp59 TIntermBinary *inverseY = new TIntermBinary(EOpMul, positionY->deepCopy(), negFlipY); in AppendVertexShaderPositionYCorrectionToMain()
63 TIntermBinary *assignment = new TIntermBinary(TOperator::EOpAssign, positionYLHS, inverseY); in AppendVertexShaderPositionYCorrectionToMain()
198 TIntermBinary *zScale = new TIntermBinary(EOpMul, positionZ->deepCopy(), viewportZScale); in transformDepthBeforeCorrection()
202 TIntermBinary *assignment = new TIntermBinary(TOperator::EOpAssign, positionZLHS, zScale); in transformDepthBeforeCorrection()
311 TIntermBinary *assignment = in insertRasterizerDiscardLogic()
312 new TIntermBinary(TOperator::EOpAssign, positionRef->deepCopy(), constVarConstructor); in insertRasterizerDiscardLogic()
/external/angle/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp37 return new TIntermBinary( in DerivativeQuotient()
39 new TIntermBinary(EOpSub, new TIntermBinary(EOpMul, du->deepCopy(), v->deepCopy()), in DerivativeQuotient()
40 new TIntermBinary(EOpMul, dv->deepCopy(), u->deepCopy())), in DerivativeQuotient()
41 new TIntermBinary(EOpMul, vRecip->deepCopy(), vRecip->deepCopy())); in DerivativeQuotient()
51 return new TIntermBinary(EOpIndexDirect, array, CreateIndexNode(i)); in IndexDirect()
70 new TIntermUnary(EOpNegative, new TIntermBinary(EOpMul, signX, z->deepCopy()), nullptr); in TransformXMajor()
73 block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); in TransformXMajor()
74 block->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vcValue)); in TransformXMajor()
93 duValue = new TIntermBinary(EOpMul, duValue, CreateFloatNode(0.5f, EbpMedium)); in TransformDerivativeXMajor()
94 dvValue = new TIntermBinary(EOpMul, dvValue, CreateFloatNode(0.5f, EbpMedium)); in TransformDerivativeXMajor()
[all …]
DDeclareAndInitBuiltinsForInstancedMultiview.cpp54 TIntermBinary *normalizedInstanceID = in InitializeViewIDAndInstanceID()
55 new TIntermBinary(EOpDiv, glInstanceIDAsUint, numberOfViewsUint); in InitializeViewIDAndInstanceID()
64 TIntermBinary *instanceIDInitializer = in InitializeViewIDAndInstanceID()
65 new TIntermBinary(EOpAssign, new TIntermSymbol(instanceID), normalizedInstanceIDAsInt); in InitializeViewIDAndInstanceID()
69 TIntermBinary *normalizedViewID = in InitializeViewIDAndInstanceID()
70 new TIntermBinary(EOpIMod, glInstanceIDAsUint->deepCopy(), numberOfViewsUint->deepCopy()); in InitializeViewIDAndInstanceID()
73 TIntermBinary *viewIDInitializer = in InitializeViewIDAndInstanceID()
74 new TIntermBinary(EOpAssign, new TIntermSymbol(viewID), normalizedViewID); in InitializeViewIDAndInstanceID()
97 new TIntermBinary(EOpAssign, viewportIndexSymbol, viewIDAsInt)); in SelectViewIndexInVertexShader()
103 TIntermBinary *sumOfViewIDAndBaseViewIndex = new TIntermBinary( in SelectViewIndexInVertexShader()
[all …]
DRewriteAtomicCounters.cpp63 TIntermBinary *uniformBufferOffsetUint = new TIntermBinary( in CreateUniformBufferOffset()
67 TIntermBinary *uniformBufferOffsetShifted = uniformBufferOffsetUint; in CreateUniformBufferOffset()
70 uniformBufferOffsetShifted = new TIntermBinary(EOpBitShiftRight, uniformBufferOffsetUint, in CreateUniformBufferOffset()
75 return new TIntermBinary(EOpBitwiseAnd, uniformBufferOffsetShifted, CreateUIntNode(0xFF)); in CreateUniformBufferOffset()
78 TIntermBinary *CreateAtomicCounterRef(TIntermTyped *atomicCounterExpression, in CreateAtomicCounterRef()
115 TIntermBinary *asBinary = atomicCounterExpression->getAsBinaryNode(); in CreateAtomicCounterRef()
152 index = new TIntermBinary(EOpAdd, index, atomicCounterIndex); in CreateAtomicCounterRef()
156 index = new TIntermBinary(EOpAdd, index, CreateIndexNode(offset)); in CreateAtomicCounterRef()
166 TIntermBinary *countersBlock = in CreateAtomicCounterRef()
167 new TIntermBinary(EOpIndexDirect, atomicCountersRef, CreateIndexNode(binding)); in CreateAtomicCounterRef()
[all …]
DRewriteDfdy.cpp138 TIntermBinary *halfRotationMat = nullptr; in visitAggregateWithRotation()
141 halfRotationMat = new TIntermBinary(EOpIndexDirect, fragRotation, CreateIndexNode(0)); in visitAggregateWithRotation()
145 halfRotationMat = new TIntermBinary(EOpIndexDirect, fragRotation, CreateIndexNode(1)); in visitAggregateWithRotation()
149 TIntermBinary *rotatedFlipXY = new TIntermBinary(EOpMul, flipXY, halfRotationMat); in visitAggregateWithRotation()
173 TIntermBinary *rotatedFlippedDfdx = new TIntermBinary(multiplyOp, dFdx, multiplierX); in visitAggregateWithRotation()
174 TIntermBinary *rotatedFlippedDfdy = new TIntermBinary(multiplyOp, dFdy, multiplierY); in visitAggregateWithRotation()
177 TIntermBinary *correctedResult = in visitAggregateWithRotation()
178 new TIntermBinary(EOpAdd, rotatedFlippedDfdx, rotatedFlippedDfdy); in visitAggregateWithRotation()
204 flipY = new TIntermBinary(EOpIndexDirect, flipXY, CreateIndexNode(1)); in visitAggregateWithoutRotation()
209 TIntermBinary *correctedDfdy = new TIntermBinary(multiplyOp, newDfdy, flipY); in visitAggregateWithoutRotation()
DRemoveDynamicIndexing.cpp29 using DynamicIndexingNodeMatcher = std::function<bool(TIntermBinary *)>;
203 TIntermBinary *indexNode = in GetIndexFunctionDefinition()
204 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(i)); in GetIndexFunctionDefinition()
207 TIntermBinary *assignNode = in GetIndexFunctionDefinition()
208 new TIntermBinary(EOpAssign, indexNode, valueParam->deepCopy()); in GetIndexFunctionDefinition()
231 TIntermBinary *cond = in GetIndexFunctionDefinition()
232 new TIntermBinary(EOpLessThan, indexParam->deepCopy(), CreateIntConstantNode(0)); in GetIndexFunctionDefinition()
238 TIntermBinary *indexFirstNode = in GetIndexFunctionDefinition()
239 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(0)); in GetIndexFunctionDefinition()
240 TIntermBinary *indexLastNode = in GetIndexFunctionDefinition()
[all …]
DInitializeVariables.cpp37 TIntermBinary *CreateZeroInitAssignment(const TIntermTyped *initializedNode) in CreateZeroInitAssignment()
40 return new TIntermBinary(EOpAssign, initializedNode->deepCopy(), zero); in CreateZeroInitAssignment()
70 new TIntermBinary(TOperator::EOpIndexDirectInterfaceBlock, in AddZeroInitSequence()
74 new TIntermBinary(TOperator::EOpAssign, fieldReference, fieldZero); in AddZeroInitSequence()
94 TIntermBinary *element = new TIntermBinary(EOpIndexDirectStruct, in AddStructZeroInitSequence()
112 TIntermBinary *element = in AddArrayZeroInitStatementList()
113 new TIntermBinary(EOpIndexDirect, initializedNode->deepCopy(), CreateIndexNode(i)); in AddArrayZeroInitStatementList()
134 TIntermBinary *indexSmallerThanSize = in AddArrayZeroInitForLoop()
135 new TIntermBinary(EOpLessThan, indexSymbolNode->deepCopy(), arraySizeNode); in AddArrayZeroInitForLoop()
142 TIntermBinary *element = new TIntermBinary(EOpIndexIndirect, initializedNode->deepCopy(), in AddArrayZeroInitForLoop()
[all …]
DEmulateGLFragColorBroadcast.cpp47 TIntermBinary *constructGLFragDataNode(int index) const;
48 TIntermBinary *constructGLFragDataAssignNode(int index) const;
56 TIntermBinary *GLFragColorBroadcastTraverser::constructGLFragDataNode(int index) const in constructGLFragDataNode()
62 TIntermBinary *binary = new TIntermBinary(EOpIndexDirect, symbol, indexNode); in constructGLFragDataNode()
66 TIntermBinary *GLFragColorBroadcastTraverser::constructGLFragDataAssignNode(int index) const in constructGLFragDataAssignNode()
71 return new TIntermBinary(EOpAssign, fragDataIndex, fragDataZero); in constructGLFragDataAssignNode()
DRewriteArrayOfArrayOfOpaqueUniforms.cpp49 TIntermBinary *node,
63 bool visitBinary(Visit visit, TIntermBinary *node) override in visitBinary()
123 TIntermBinary *node, in RewriteArrayOfArraySubscriptExpression()
135 TIntermBinary *iter = node; in RewriteArrayOfArraySubscriptExpression()
185 new TIntermBinary(EOpMul, indexExpression, CreateIndexNode(subArraySize)); in RewriteArrayOfArraySubscriptExpression()
194 variableIndex = new TIntermBinary(EOpAdd, variableIndex, indexExpression); in RewriteArrayOfArraySubscriptExpression()
221 index = new TIntermBinary(EOpAdd, index, variableIndex); in RewriteArrayOfArraySubscriptExpression()
227 return new TIntermBinary(op, new TIntermSymbol(data.flattened), index); in RewriteArrayOfArraySubscriptExpression()
313 bool visitBinary(Visit visit, TIntermBinary *node) override in visitBinary()
DScalarizeVecAndMatConstructorArgs.cpp30 TIntermBinary *ConstructVectorIndexBinaryNode(TIntermTyped *symbolNode, int index) in ConstructVectorIndexBinaryNode()
32 return new TIntermBinary(EOpIndexDirect, symbolNode, CreateIndexNode(index)); in ConstructVectorIndexBinaryNode()
35 TIntermBinary *ConstructMatrixIndexBinaryNode(TIntermTyped *symbolNode, int colIndex, int rowIndex) in ConstructMatrixIndexBinaryNode()
37 TIntermBinary *colVectorNode = ConstructVectorIndexBinaryNode(symbolNode, colIndex); in ConstructMatrixIndexBinaryNode()
39 return new TIntermBinary(EOpIndexDirect, colVectorNode, CreateIndexNode(rowIndex)); in ConstructMatrixIndexBinaryNode()
140 TIntermBinary *newNode = in scalarizeArgs()
161 TIntermBinary *newNode = in scalarizeArgs()
DRewriteStructSamplers.cpp61 TIntermBinary *node,
67 TIntermBinary *node, in RewriteExpressionVisitBinaryHelper()
117 bool visitBinary(Visit visit, TIntermBinary *node) override in visitBinary()
218 TIntermBinary *node, in RewriteModifiedStructFieldSelectionExpression()
230 TVector<TIntermBinary *> indexNodeStack; in RewriteModifiedStructFieldSelectionExpression()
233 TIntermBinary *iter = node; in RewriteModifiedStructFieldSelectionExpression()
277 TIntermBinary *indexNode = *it; in RewriteModifiedStructFieldSelectionExpression()
298 rewritten = new TIntermBinary(EOpIndexDirectStruct, rewritten, in RewriteModifiedStructFieldSelectionExpression()
304 rewritten = new TIntermBinary(EOpIndexDirect, rewritten, indexNode->getRight()); in RewriteModifiedStructFieldSelectionExpression()
315 rewritten = new TIntermBinary(EOpIndexIndirect, rewritten, indexExpression); in RewriteModifiedStructFieldSelectionExpression()
[all …]
/external/angle/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp94 bool visitBinary(Visit visit, TIntermBinary *node) override in visitBinary()
203 TIntermBinary *left = in simpleAssignFunc()
204 new TIntermBinary(EOpIndexDirect, leftSymbol->deepCopy(), CreateIndexNode(index)); in simpleAssignFunc()
205 TIntermBinary *right = in simpleAssignFunc()
206 new TIntermBinary(EOpIndexDirect, rightSymbol->deepCopy(), CreateIndexNode(index)); in simpleAssignFunc()
208 return new TIntermBinary(EOpAssign, left, right); in simpleAssignFunc()
222 TIntermBinary *bitwiseAnd = new TIntermBinary(EOpBitwiseAnd, enableFlags->deepCopy(), bitMask); in assignFuncWithEnableFlags()
223 TIntermBinary *nonZero = new TIntermBinary(EOpNotEqual, bitwiseAnd, CreateUIntNode(0)); in assignFuncWithEnableFlags()
225 TIntermBinary *left = in assignFuncWithEnableFlags()
226 new TIntermBinary(EOpIndexDirect, leftSymbol->deepCopy(), CreateIndexNode(index)); in assignFuncWithEnableFlags()
[all …]
DIntermNodePatternMatcher.h18 class TIntermBinary; variable
27 static bool IsDynamicIndexingOfNonSSBOVectorOrMatrix(TIntermBinary *node);
28 static bool IsDynamicIndexingOfVectorOrMatrix(TIntermBinary *node);
29 static bool IsDynamicIndexingOfSwizzledVector(TIntermBinary *node);
63 bool match(TIntermBinary *node, TIntermNode *parentNode) const;
67 bool match(TIntermBinary *node, TIntermNode *parentNode, bool isLValueRequiredHere) const;
76 bool matchInternal(TIntermBinary *node, TIntermNode *parentNode) const;
DReplaceArrayOfMatrixVarying.cpp121 TIntermBinary *tempMatrixIndexed = in ReplaceArrayOfMatrixVarying()
122 new TIntermBinary(EOpIndexDirect, tempReplaceSymbol->deepCopy(), CreateIndexNode(i)); in ReplaceArrayOfMatrixVarying()
126 TIntermBinary *tempMatrixColIndexed = new TIntermBinary( in ReplaceArrayOfMatrixVarying()
128 TIntermBinary *vectorIndexed = in ReplaceArrayOfMatrixVarying()
129 new TIntermBinary(EOpIndexDirect, varyingReplaceSymbol->deepCopy(), in ReplaceArrayOfMatrixVarying()
131 TIntermBinary *assignment; in ReplaceArrayOfMatrixVarying()
134 assignment = new TIntermBinary(EOpAssign, tempMatrixColIndexed, vectorIndexed); in ReplaceArrayOfMatrixVarying()
138 assignment = new TIntermBinary(EOpAssign, vectorIndexed, tempMatrixColIndexed); in ReplaceArrayOfMatrixVarying()
DRewriteSampleMaskVariable.cpp66 bool visitBinary(Visit visit, TIntermBinary *node) override in visitBinary()
150 TIntermBinary *equalTo = in RewriteSampleMask()
151 new TIntermBinary(EOpEqual, numSamplesUniform->deepCopy(), singleSampleCount); in RewriteSampleMask()
155 TIntermBinary *sampleMaskVar = new TIntermBinary(EOpIndexDirect, glSampleMaskSymbol->deepCopy(), in RewriteSampleMask()
158 TIntermBinary *assignment = new TIntermBinary(EOpAssign, sampleMaskVar, fullSampleMask); in RewriteSampleMask()
DIntermNodePatternMatcher.cpp50 bool IntermNodePatternMatcher::IsDynamicIndexingOfNonSSBOVectorOrMatrix(TIntermBinary *node) in IsDynamicIndexingOfNonSSBOVectorOrMatrix()
56 bool IntermNodePatternMatcher::IsDynamicIndexingOfVectorOrMatrix(TIntermBinary *node) in IsDynamicIndexingOfVectorOrMatrix()
63 bool IntermNodePatternMatcher::IsDynamicIndexingOfSwizzledVector(TIntermBinary *node) in IsDynamicIndexingOfSwizzledVector()
68 bool IntermNodePatternMatcher::matchInternal(TIntermBinary *node, TIntermNode *parentNode) const in matchInternal()
102 bool IntermNodePatternMatcher::match(TIntermBinary *node, TIntermNode *parentNode) const in match()
111 bool IntermNodePatternMatcher::match(TIntermBinary *node, in match()
135 TIntermBinary *parentBinary = parentNode->getAsBinaryNode(); in match()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRewriteExpressionsWithShaderStorageBlock.cpp122 bool visitBinary(Visit, TIntermBinary *node) override;
151 TIntermBinary *node) in visitBinary()
195 TIntermBinary *tempCompoundOperate = in visitBinary()
196 new TIntermBinary(node->getOp(), tempSymbol->deepCopy(), rightNode->deepCopy()); in visitBinary()
200 TIntermBinary *assignTempValueToSSBO = in visitBinary()
201 new TIntermBinary(EOpAssign, node->getLeft(), tempSymbol->deepCopy()); in visitBinary()
207 TIntermBinary *compoundAssignRValueToLValue = in visitBinary()
208 new TIntermBinary(node->getOp(), node->getLeft(), rightNode->deepCopy()); in visitBinary()
236 TIntermBinary *newExpr = in visitBinary()
237 new TIntermBinary(node->getOp(), leftNode->deepCopy(), rightNode->deepCopy()); in visitBinary()
[all …]
DSeparateExpressionsReturningArrays.cpp30 bool visitBinary(Visit visit, TIntermBinary *node) override;
53 TIntermBinary *CopyAssignmentNode(TIntermBinary *node) in CopyAssignmentNode()
55 return new TIntermBinary(node->getOp(), node->getLeft(), node->getRight()); in CopyAssignmentNode()
58 bool SeparateExpressionsTraverser::visitBinary(Visit visit, TIntermBinary *node) in visitBinary()
/external/angle/src/compiler/translator/tree_ops/gl/
DUseInterfaceBlockFields.cpp32 TIntermBinary *element = in AddNodeUseStatements()
33 new TIntermBinary(EOpIndexDirect, node->deepCopy(), CreateIndexNode(i)); in AddNodeUseStatements()
56 TIntermBinary *element = new TIntermBinary(EOpIndexDirectInterfaceBlock, in InsertUseCode()
81 TIntermBinary *elementSymbol = in InsertUseCode()
82 new TIntermBinary(EOpIndexDirect, arraySymbol->deepCopy(), CreateIndexNode(i)); in InsertUseCode()
DRewriteRepeatedAssignToSwizzled.cpp35 bool visitBinary(Visit, TIntermBinary *node) override;
70 bool RewriteAssignToSwizzledTraverser::visitBinary(Visit, TIntermBinary *node) in visitBinary()
72 TIntermBinary *rightBinary = node->getRight()->getAsBinaryNode(); in visitBinary()
80 TIntermBinary *lastAssign = in visitBinary()
81 new TIntermBinary(EOpAssign, node->getLeft(), rightAssignmentTargetCopy); in visitBinary()
/external/angle/src/compiler/translator/tree_ops/apple/
DRewriteRowMajorMatrices.cpp94 TIntermBinary *binaryNode = node->getAsBinaryNode(); in IsIndexNode()
146 TIntermBinary *binaryNode = node->getAsBinaryNode(); in GetIndex()
174 TIntermBinary *binaryNode = node->getAsBinaryNode(); in ReplicateIndexNode()
180 return new TIntermBinary(binaryNode->getOp(), lhs, rhs); in ReplicateIndexNode()
191 TIntermBinary *asBinary = indexNode->getAsBinaryNode(); in IsConvertedField()
285 element = new TIntermBinary(EOpIndexDirect, element, CreateIndexNode(index)); in getCurrentElement()
520 bool visitBinary(Visit visit, TIntermBinary *node) override in visitBinary()
547 TIntermBinary *innerPassRoot) in RewriteRowMajorMatricesTraverser()
807 TIntermBinary *assignment = accessor->getAsBinaryNode(); in determineAccess()
1060 TIntermBinary *assignment = accessor->getAsBinaryNode(); in transformExpression()
[all …]

123456