Home
last modified time | relevance | path

Searched refs:TIntermSwizzle (Results 1 – 25 of 45) sorted by relevance

12

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DFixTypeConstructors.cpp58 TIntermSwizzle *newSwizzle = nullptr; in visitAggregate()
62 newSwizzle = new TIntermSwizzle(targ->deepCopy(), {0}); in visitAggregate()
65 newSwizzle = new TIntermSwizzle(targ->deepCopy(), {0, 1}); in visitAggregate()
68 newSwizzle = new TIntermSwizzle(targ->deepCopy(), {0, 1, 2}); in visitAggregate()
DIntermRebuild.h221 virtual PreResult visitSwizzlePre(TIntermSwizzle &node);
240 virtual PostResult visitSwizzlePost(TIntermSwizzle &node);
301 TIntermNode *traverseSwizzleChildren(TIntermSwizzle &node);
DSkippingTraverser.h26 bool visitSwizzle(Visit, TIntermSwizzle *) { return false; } in visitSwizzle() argument
DNodeType.h68 bool visitSwizzle(Visit, TIntermSwizzle *) override in visitSwizzle() argument
DIntermRebuild.cpp548 TIntermNode *TIntermRebuild::traverseSwizzleChildren(TIntermSwizzle &node) in traverseSwizzleChildren()
558 return new TIntermSwizzle(newOperand, node.getSwizzleOffsets()); in traverseSwizzleChildren()
879 PreResult TIntermRebuild::visitSwizzlePre(TIntermSwizzle &node) in visitSwizzlePre()
972 PostResult TIntermRebuild::visitSwizzlePost(TIntermSwizzle &node) in visitSwizzlePost()
DName.cpp124 bool visitSwizzle(Visit, TIntermSwizzle *) override { return !mFoundName; } in visitSwizzle() argument
/external/angle/src/compiler/translator/
DTranslatorMetal.cpp68 TIntermSwizzle *positionY = new TIntermSwizzle(positionRef, swizzleOffsetY); in AppendVertexShaderPositionYCorrectionToMain()
161 TIntermSwizzle *DriverUniformMetal::getNegFlipYRef() const in getNegFlipYRef()
166 TIntermSwizzle *negFlipY = new TIntermSwizzle(negFlipXY, swizzleOffsetY); in getNegFlipYRef()
263 TIntermSwizzle *positionZ = new TIntermSwizzle(positionRef, swizzleOffsetZ); in transformDepthBeforeCorrection()
DTranslatorVulkan.cpp204 TIntermSwizzle *builtinXY = new TIntermSwizzle(builtinRef, swizzleOffsetXY); in RotateAndFlipBuiltinVariable()
242 TIntermSwizzle *correctedXY = in RotateAndFlipBuiltinVariable()
243 new TIntermSwizzle(flippedBuiltinRef->deepCopy(), swizzleOffsetXY); in RotateAndFlipBuiltinVariable()
313 TIntermSwizzle *glPosXY = CreateSwizzle(glPos, 0, 1); in AddBresenhamEmulationVS()
314 TIntermSwizzle *glPosW = CreateSwizzle(glPos->deepCopy(), 3); in AddBresenhamEmulationVS()
323 TIntermSwizzle *viewportZW = CreateSwizzle(viewportRef, 2, 3); in AddBresenhamEmulationVS()
327 TIntermSwizzle *viewportXY = CreateSwizzle(viewportRef->deepCopy(), 0, 1); in AddBresenhamEmulationVS()
664 TIntermSwizzle *viewportXY = CreateSwizzle(viewportRef->deepCopy(), 0, 1); in AddBresenhamEmulationFS()
665 TIntermSwizzle *viewportZW = CreateSwizzle(viewportRef, 2, 3); in AddBresenhamEmulationFS()
687 TIntermSwizzle *fragCoordXY = CreateSwizzle(new TIntermSymbol(fragCoord), 0, 1); in AddBresenhamEmulationFS()
[all …]
DShaderStorageBlockFunctionHLSL.h37 class TIntermSwizzle; variable
62 TIntermSwizzle *node);
DTranslatorMetalDirect.cpp234 TIntermSwizzle *glPosXY = new TIntermSwizzle(glPos, swizzleOffsetXY); in AppendPreRotation()
263 TIntermSwizzle *builtinXY = new TIntermSwizzle(builtinRef, swizzleOffsetXY); in RotateAndFlipBuiltinVariable()
304 TIntermSwizzle *correctedXY = in RotateAndFlipBuiltinVariable()
305 new TIntermSwizzle(flippedBuiltinRef->deepCopy(), swizzleOffsetXY); in RotateAndFlipBuiltinVariable()
465 TIntermSwizzle *positionY = new TIntermSwizzle(positionRef, swizzleOffsetY); in AppendVertexShaderPositionYCorrectionToMain()
591 TIntermSwizzle *positionZ = new TIntermSwizzle(positionRef, swizzleOffsetZ); in transformDepthBeforeCorrection()
DIntermNode.h45 class TIntermSwizzle; variable
98 virtual TIntermSwizzle *getAsSwizzleNode() { return nullptr; } in getAsSwizzleNode()
426 class TIntermSwizzle : public TIntermExpression
430 TIntermSwizzle(TIntermTyped *operand, const TVector<int> &swizzleOffsets);
432 TIntermTyped *deepCopy() const override { return new TIntermSwizzle(*this); } in deepCopy()
434 TIntermSwizzle *getAsSwizzleNode() override { return this; } in getAsSwizzleNode()
462 TIntermSwizzle(const TIntermSwizzle &node); // Note: not deleted, just private!
DValidateSwitch.cpp35 bool visitSwizzle(Visit, TIntermSwizzle *) override;
152 bool ValidateSwitch::visitSwizzle(Visit, TIntermSwizzle *) in visitSwizzle() argument
DShaderStorageBlockOutputHLSL.cpp44 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in GetBlockLayoutInfo()
395 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in getMatrixStride()
408 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in collectShaderStorageBlocks()
533 else if (TIntermSwizzle *swizzleNode = node->getAsSwizzleNode()) in traverseNode()
DTranslatorMetal.h47 TIntermSwizzle *getNegFlipYRef() const override;
DIntermNode.cpp289 size_t TIntermSwizzle::getChildCount() const in getChildCount()
294 TIntermNode *TIntermSwizzle::getChildNode(size_t index) const in getChildNode()
301 bool TIntermSwizzle::replaceChildNode(TIntermNode *original, TIntermNode *replacement) in replaceChildNode()
1128 TIntermSwizzle::TIntermSwizzle(const TIntermSwizzle &node) : TIntermExpression(node) in TIntermSwizzle() function in sh::TIntermSwizzle
1380 TIntermSwizzle::TIntermSwizzle(TIntermTyped *operand, const TVector<int> &swizzleOffsets) in TIntermSwizzle() function in sh::TIntermSwizzle
1534 void TIntermSwizzle::promote() in promote()
1545 bool TIntermSwizzle::hasDuplicateOffsets() const in hasDuplicateOffsets()
1563 void TIntermSwizzle::setHasFoldedDuplicateOffsets(bool hasFoldedDuplicateOffsets) in setHasFoldedDuplicateOffsets()
1568 bool TIntermSwizzle::offsetsMatch(int offset) const in offsetsMatch()
1573 void TIntermSwizzle::writeOffsetsAsXYZW(TInfoSinkBase *out) const in writeOffsetsAsXYZW()
[all …]
/external/angle/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp46 return new TIntermSwizzle(array, {i}); in Swizzle1()
427 TIntermSwizzle *x = new TIntermSwizzle(p->deepCopy(), {0}); in declareCoordTranslationFunction()
428 TIntermSwizzle *y = new TIntermSwizzle(p->deepCopy(), {1}); in declareCoordTranslationFunction()
429 TIntermSwizzle *z = new TIntermSwizzle(p->deepCopy(), {2}); in declareCoordTranslationFunction()
600 TIntermSwizzle *dPdxX = new TIntermSwizzle(dPdx->deepCopy(), {0}); in declareCoordTranslationFunction()
601 TIntermSwizzle *dPdxY = new TIntermSwizzle(dPdx->deepCopy(), {1}); in declareCoordTranslationFunction()
602 TIntermSwizzle *dPdxZ = new TIntermSwizzle(dPdx->deepCopy(), {2}); in declareCoordTranslationFunction()
604 TIntermSwizzle *dPdyX = new TIntermSwizzle(dPdy->deepCopy(), {0}); in declareCoordTranslationFunction()
605 TIntermSwizzle *dPdyY = new TIntermSwizzle(dPdy->deepCopy(), {1}); in declareCoordTranslationFunction()
606 TIntermSwizzle *dPdyZ = new TIntermSwizzle(dPdy->deepCopy(), {2}); in declareCoordTranslationFunction()
DRewriteDfdy.cpp160 multiplierX = new TIntermSwizzle(tmpRotFlipXY, swizzleOffsetX); in visitAggregateWithRotation()
161 multiplierY = new TIntermSwizzle(tmpRotFlipXY->deepCopy(), swizzleOffsetY); in visitAggregateWithRotation()
DFoldExpressions.cpp85 bool visitSwizzle(Visit visit, TIntermSwizzle *node) override in visitSwizzle()
/external/angle/src/compiler/translator/tree_util/
DDriverUniform.h23 class TIntermSwizzle; variable
63 virtual TIntermSwizzle *getNegFlipYRef() const { return nullptr; } in getNegFlipYRef()
90 TIntermSwizzle *getNegFlipYRef() const override;
DIntermNode_util.h101 TIntermSwizzle *CreateSwizzle(TIntermTyped *reference, ArgsT... args) in CreateSwizzle()
105 return new TIntermSwizzle(reference, swizzleIndex); in CreateSwizzle()
DAsNode.h77 struct AsNode<TIntermSwizzle>
79 static ANGLE_INLINE TIntermSwizzle *exec(TIntermNode *node)
DDriverUniform.cpp305 TIntermSwizzle *DriverUniformExtended::getNegFlipYRef() const in getNegFlipYRef()
310 TIntermSwizzle *negFlipY = new TIntermSwizzle(negFlipXY, swizzleOffsetY); in getNegFlipYRef()
/external/angle/src/compiler/translator/tree_ops/gl/
DVectorizeVectorScalarArithmetic.cpp196 TIntermSwizzle *tempAssignmentTargetX = in replaceAssignInsideConstructor()
197 new TIntermSwizzle(CreateTempSymbolNode(tempAssignmentTarget), swizzleXOffset); in replaceAssignInsideConstructor()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRemoveSwitchFallThrough.cpp38 bool visitSwizzle(Visit, TIntermSwizzle *node) override;
134 bool RemoveSwitchFallThroughTraverser::visitSwizzle(Visit, TIntermSwizzle *node) in visitSwizzle()
/external/angle/src/tests/test_utils/
DShaderCompileTreeTest.cpp48 bool visitSwizzle(Visit, TIntermSwizzle *node) override in visitSwizzle()

12