Home
last modified time | relevance | path

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

123456789

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DDriverUniform.h24 class TIntermBinary; variable
48 TIntermBinary *getViewportRef() const;
49 TIntermBinary *getAbcBufferOffsets() const;
50 TIntermBinary *getXfbActiveUnpaused() const;
51 TIntermBinary *getXfbVerticesPerInstance() const;
52 TIntermBinary *getXfbBufferOffsets() const;
53 TIntermBinary *getClipDistancesEnabled() const;
54 TIntermBinary *getDepthRangeRef() const;
55 TIntermBinary *getDepthRangeReservedFieldRef() const;
56 TIntermBinary *getNumSamplesRef() const;
[all …]
DDriverUniform.cpp192 TIntermBinary *DriverUniform::createDriverUniformRef(const char *fieldName) const in createDriverUniformRef()
212 return new TIntermBinary(EOpIndexDirectInterfaceBlock, angleUniformsRef, indexRef); in createDriverUniformRef()
214 return new TIntermBinary(EOpIndexDirectStruct, angleUniformsRef, indexRef); in createDriverUniformRef()
217 TIntermBinary *DriverUniform::getViewportRef() const in getViewportRef()
222 TIntermBinary *DriverUniform::getAbcBufferOffsets() const in getAbcBufferOffsets()
227 TIntermBinary *DriverUniform::getXfbActiveUnpaused() const in getXfbActiveUnpaused()
232 TIntermBinary *DriverUniform::getXfbVerticesPerInstance() const in getXfbVerticesPerInstance()
237 TIntermBinary *DriverUniform::getXfbBufferOffsets() const in getXfbBufferOffsets()
242 TIntermBinary *DriverUniform::getClipDistancesEnabled() const in getClipDistancesEnabled()
247 TIntermBinary *DriverUniform::getDepthRangeRef() const in getDepthRangeRef()
[all …]
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()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorVulkan.cpp224 rotatedXY = new TIntermBinary(EOpMatrixTimesVector, fragRotation, builtinXY); in RotateAndFlipBuiltinVariable()
233 TIntermBinary *removePivot = new TIntermBinary(EOpSub, rotatedXY, pivot); in RotateAndFlipBuiltinVariable()
234 TIntermBinary *inverseXY = new TIntermBinary(EOpMul, removePivot, flipXY); in RotateAndFlipBuiltinVariable()
235 TIntermBinary *plusPivot = new TIntermBinary(EOpAdd, inverseXY, pivot->deepCopy()); in RotateAndFlipBuiltinVariable()
238 TIntermBinary *assignment = in RotateAndFlipBuiltinVariable()
239 new TIntermBinary(EOpAssign, flippedBuiltinRef, builtinRef->deepCopy()); in RotateAndFlipBuiltinVariable()
244 TIntermBinary *assignToY = new TIntermBinary(EOpAssign, correctedXY, plusPivot); in RotateAndFlipBuiltinVariable()
270 TIntermBinary *angleEmulatedDepthRangeRef = driverUniforms->getDepthRangeRef(); in ReplaceGLDepthRangeWithDriverUniform()
341 TIntermBinary *viewportRef = driverUniforms->getViewportRef(); in AddBresenhamEmulationVS()
346 TIntermBinary *noPerspective = new TIntermBinary(EOpDiv, glPosXY, glPosW); in AddBresenhamEmulationVS()
[all …]
DTranslatorMetalDirect.cpp205 TIntermBinary *angleEmulatedDepthRangeRef = driverUniforms->getDepthRangeRef(); in ReplaceGLDepthRangeWithDriverUniform()
253 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()
299 TIntermBinary *pivot = specConst->getHalfRenderArea(); in InsertFragCoordCorrection()
405 TIntermBinary *assignment = in AddFragDataDeclaration()
406 new TIntermBinary(TOperator::EOpAssign, glFragDataSlot, &access); in AddFragDataDeclaration()
[all …]
DTranslatorMetal.cpp66 TIntermBinary *inverseY = new TIntermBinary(EOpMul, positionY->deepCopy(), negFlipY); in AppendVertexShaderPositionYCorrectionToMain()
70 TIntermBinary *assignment = new TIntermBinary(TOperator::EOpAssign, positionYLHS, inverseY); in AppendVertexShaderPositionYCorrectionToMain()
202 TIntermBinary *viewportZScale = driverUniforms->getDepthRangeReservedFieldRef(); in transformDepthBeforeCorrection()
205 TIntermBinary *zScale = new TIntermBinary(EOpMul, positionZ->deepCopy(), viewportZScale); in transformDepthBeforeCorrection()
209 TIntermBinary *assignment = new TIntermBinary(TOperator::EOpAssign, positionZLHS, zScale); in transformDepthBeforeCorrection()
258 TIntermBinary *coverageMask = driverUniforms->getCoverageMaskFieldRef(); in insertSampleMaskWritingLogic()
318 TIntermBinary *assignment = in insertRasterizerDiscardLogic()
319 new TIntermBinary(TOperator::EOpAssign, positionRef->deepCopy(), constVarConstructor); in insertRasterizerDiscardLogic()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorVulkan.cpp193 TIntermBinary *CreateDriverUniformRef(const TVariable *driverUniforms, const char *fieldName) in CreateDriverUniformRef()
203 return new TIntermBinary(EOpIndexDirectInterfaceBlock, angleUniformsRef, indexRef); in CreateDriverUniformRef()
234 TIntermBinary *removePivot = new TIntermBinary(EOpSub, builtinY, pivot); in FlipBuiltinVariable()
235 TIntermBinary *inverseY = new TIntermBinary(EOpMul, removePivot, viewportYScale); in FlipBuiltinVariable()
236 TIntermBinary *plusPivot = new TIntermBinary(EOpAdd, inverseY, pivot->deepCopy()); in FlipBuiltinVariable()
242 TIntermBinary *assignment = new TIntermBinary(EOpInitialize, flippedBuiltinRef, aggregate); in FlipBuiltinVariable()
246 TIntermBinary *assignToY = new TIntermBinary(EOpAssign, correctedY, plusPivot); in FlipBuiltinVariable()
269 TIntermBinary *angleEmulatedDepthRangeRef = CreateDriverUniformRef(driverUniforms, kDepthRange); in ReplaceGLDepthRangeWithDriverUniform()
302 TIntermBinary *zPlusW = new TIntermBinary(EOpAdd, positionZ->deepCopy(), positionW->deepCopy()); in AppendVertexShaderDepthCorrectionToMain()
303 TIntermBinary *halfZPlusW = new TIntermBinary(EOpMul, zPlusW, oneHalf->deepCopy()); in AppendVertexShaderDepthCorrectionToMain()
[all …]
/third_party/skia/third_party/externals/angle2/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 *)>;
202 TIntermBinary *indexNode = in GetIndexFunctionDefinition()
203 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(i)); in GetIndexFunctionDefinition()
206 TIntermBinary *assignNode = in GetIndexFunctionDefinition()
207 new TIntermBinary(EOpAssign, indexNode, valueParam->deepCopy()); in GetIndexFunctionDefinition()
230 TIntermBinary *cond = in GetIndexFunctionDefinition()
231 new TIntermBinary(EOpLessThan, indexParam->deepCopy(), CreateIntConstantNode(0)); in GetIndexFunctionDefinition()
237 TIntermBinary *indexFirstNode = in GetIndexFunctionDefinition()
238 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(0)); in GetIndexFunctionDefinition()
239 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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteAtomicCounters.cpp76 TIntermBinary *CreateAtomicCounterRef(const TVariable *atomicCounters, in CreateAtomicCounterRef()
103 TIntermBinary *binding = in CreateAtomicCounterRef()
104 new TIntermBinary(EOpIndexDirectStruct, bindingOffset->deepCopy(), bindingFieldRef); in CreateAtomicCounterRef()
105 TIntermBinary *offset = in CreateAtomicCounterRef()
106 new TIntermBinary(EOpIndexDirectStruct, bindingOffset->deepCopy(), offsetFieldRef); in CreateAtomicCounterRef()
109 TIntermBinary *countersBlock = new TIntermBinary(EOpIndexDirect, atomicCountersRef, binding); in CreateAtomicCounterRef()
112 TIntermBinary *counters = in CreateAtomicCounterRef()
113 new TIntermBinary(EOpIndexDirectInterfaceBlock, countersBlock, countersFieldRef); in CreateAtomicCounterRef()
117 TIntermBinary *bindingDivFour = in CreateAtomicCounterRef()
118 new TIntermBinary(EOpDiv, binding->deepCopy(), CreateUIntConstant(4)); in CreateAtomicCounterRef()
[all …]
DVectorizeVectorScalarArithmetic.cpp41 bool visitBinary(Visit visit, TIntermBinary *node) override;
47 void replaceMathInsideConstructor(TIntermAggregate *node, TIntermBinary *argBinary);
49 const TIntermBinary *argBinary);
85 bool VectorizeVectorScalarArithmeticTraverser::visitBinary(Visit /*visit*/, TIntermBinary *node) in visitBinary()
132 TIntermBinary *argBinary) in replaceMathInsideConstructor()
151 TIntermBinary *newArg = new TIntermBinary(argBinary->getOp(), leftVectorized, rightVectorized); in replaceMathInsideConstructor()
157 const TIntermBinary *argBinary) in replaceAssignInsideConstructor()
190 TIntermBinary *replacementCompoundAssignment = new TIntermBinary( in replaceAssignInsideConstructor()
199 TIntermBinary *replacementAssignBackToTarget = in replaceAssignInsideConstructor()
200 new TIntermBinary(EOpAssign, left->deepCopy(), tempAssignmentTargetX); in replaceAssignInsideConstructor()
[all …]
DDeclareAndInitBuiltinsForInstancedMultiview.cpp53 TIntermBinary *normalizedInstanceID = in InitializeViewIDAndInstanceID()
54 new TIntermBinary(EOpDiv, glInstanceIDAsUint, numberOfViewsUint); in InitializeViewIDAndInstanceID()
63 TIntermBinary *instanceIDInitializer = in InitializeViewIDAndInstanceID()
64 new TIntermBinary(EOpAssign, new TIntermSymbol(instanceID), normalizedInstanceIDAsInt); in InitializeViewIDAndInstanceID()
68 TIntermBinary *normalizedViewID = in InitializeViewIDAndInstanceID()
69 new TIntermBinary(EOpIMod, glInstanceIDAsUint->deepCopy(), numberOfViewsUint->deepCopy()); in InitializeViewIDAndInstanceID()
72 TIntermBinary *viewIDInitializer = in InitializeViewIDAndInstanceID()
73 new TIntermBinary(EOpAssign, new TIntermSymbol(viewID), normalizedViewID); in InitializeViewIDAndInstanceID()
96 new TIntermBinary(EOpAssign, viewportIndexSymbol, viewIDAsInt)); in SelectViewIndexInVertexShader()
102 TIntermBinary *sumOfViewIDAndBaseViewIndex = new TIntermBinary( in SelectViewIndexInVertexShader()
[all …]
DRewriteCubeMapSamplersAs2DArray.cpp77 new TIntermBinary(EOpGreaterThan, diffWithNeighbor, CreateFloatNode(0.5f)); in IsNeighborNonHelper()
196 helperBody->appendStatement(new TIntermBinary(EOpAssign, l->deepCopy(), lHVD)); in GetLayerFromNonHelperInvocation()
216 new TIntermUnary(EOpNegative, new TIntermBinary(EOpMul, signX, z->deepCopy()), nullptr); in TransformXMajor()
219 block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); in TransformXMajor()
220 block->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vcValue)); in TransformXMajor()
235 TIntermTyped *vcValue = new TIntermBinary(EOpMul, signY, z->deepCopy()); in TransformYMajor()
237 block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); in TransformYMajor()
238 block->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vcValue)); in TransformYMajor()
252 TIntermTyped *ucValue = new TIntermBinary(EOpMul, signZ, x->deepCopy()); in TransformZMajor()
255 block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); in TransformZMajor()
[all …]
DRewriteDfdy.cpp27 TIntermBinary *viewportYScale);
30 Traverser(TIntermBinary *viewportYScale, TSymbolTable *symbolTable);
33 TIntermBinary *mViewportYScale = nullptr;
36 Traverser::Traverser(TIntermBinary *viewportYScale, TSymbolTable *symbolTable) in Traverser()
43 TIntermBinary *viewportYScale) in Apply()
67 TIntermBinary *correctedDfdy = new TIntermBinary(multiplyOp, newDfdy, mViewportYScale); in visitUnary()
80 TIntermBinary *viewportYScale) in RewriteDfdy()
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 …]
DRemoveDynamicIndexing.cpp192 TIntermBinary *indexNode = in GetIndexFunctionDefinition()
193 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(i)); in GetIndexFunctionDefinition()
196 TIntermBinary *assignNode = in GetIndexFunctionDefinition()
197 new TIntermBinary(EOpAssign, indexNode, valueParam->deepCopy()); in GetIndexFunctionDefinition()
220 TIntermBinary *cond = in GetIndexFunctionDefinition()
221 new TIntermBinary(EOpLessThan, indexParam->deepCopy(), CreateIntConstantNode(0)); in GetIndexFunctionDefinition()
227 TIntermBinary *indexFirstNode = in GetIndexFunctionDefinition()
228 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(0)); in GetIndexFunctionDefinition()
229 TIntermBinary *indexLastNode = in GetIndexFunctionDefinition()
230 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(numCases - 1)); in GetIndexFunctionDefinition()
[all …]
DInitializeVariables.cpp36 TIntermBinary *CreateZeroInitAssignment(const TIntermTyped *initializedNode) in CreateZeroInitAssignment()
39 return new TIntermBinary(EOpAssign, initializedNode->deepCopy(), zero); in CreateZeroInitAssignment()
75 TIntermBinary *element = new TIntermBinary(EOpIndexDirectStruct, in AddStructZeroInitSequence()
93 TIntermBinary *element = in AddArrayZeroInitStatementList()
94 new TIntermBinary(EOpIndexDirect, initializedNode->deepCopy(), CreateIndexNode(i)); in AddArrayZeroInitStatementList()
115 TIntermBinary *indexSmallerThanSize = in AddArrayZeroInitForLoop()
116 new TIntermBinary(EOpLessThan, indexSymbolNode->deepCopy(), arraySizeNode); in AddArrayZeroInitForLoop()
123 TIntermBinary *element = new TIntermBinary(EOpIndexIndirect, initializedNode->deepCopy(), in AddArrayZeroInitForLoop()
191 new TIntermBinary(EOpIndexDirect, initializedSymbol, CreateIndexNode(0)); in InsertInitCode()
258 TIntermBinary *init = in visitDeclaration()
[all …]
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.h18 class TIntermBinary; variable
27 static bool IsDynamicIndexingOfNonSSBOVectorOrMatrix(TIntermBinary *node);
28 static bool IsDynamicIndexingOfVectorOrMatrix(TIntermBinary *node);
62 bool match(TIntermBinary *node, TIntermNode *parentNode);
66 bool match(TIntermBinary *node, TIntermNode *parentNode, bool isLValueRequiredHere);
75 bool matchInternal(TIntermBinary *node, TIntermNode *parentNode);

123456789