Home
last modified time | relevance | path

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

12

/external/angle/src/compiler/translator/
DTranslatorVulkan.cpp236 TIntermSwizzle *builtinY = new TIntermSwizzle(builtinRef, swizzleOffsetY); in FlipBuiltinVariable()
264 TIntermSwizzle *correctedY = new TIntermSwizzle(flippedBuiltinRef->deepCopy(), swizzleOffsetY); in FlipBuiltinVariable()
316 TIntermSwizzle *positionZ = new TIntermSwizzle(positionRef, swizzleOffsetZ); in AppendVertexShaderDepthCorrectionToMain()
323 TIntermSwizzle *positionW = new TIntermSwizzle(positionRef->deepCopy(), swizzleOffsetW); in AppendVertexShaderDepthCorrectionToMain()
352 TIntermSwizzle *glPosXY = new TIntermSwizzle(glPos, swizzleOffsetXY); in AppendPreRotation()
510 TIntermSwizzle *glPosXY = CreateSwizzle(glPos, 0, 1); in AddBresenhamEmulationVS()
511 TIntermSwizzle *glPosW = CreateSwizzle(glPos->deepCopy(), 3); in AddBresenhamEmulationVS()
520 TIntermSwizzle *viewportZW = CreateSwizzle(viewportRef, 2, 3); in AddBresenhamEmulationVS()
524 TIntermSwizzle *viewportXY = CreateSwizzle(viewportRef->deepCopy(), 0, 1); in AddBresenhamEmulationVS()
625 TIntermSwizzle *viewportXY = CreateSwizzle(viewportRef->deepCopy(), 0, 1); in AddBresenhamEmulationFS()
[all …]
DTranslatorMetal.cpp47 TIntermSwizzle *positionY = new TIntermSwizzle(positionRef, swizzleOffsetY); in AppendVertexShaderPositionYCorrectionToMain()
112 TIntermSwizzle *positionZ = new TIntermSwizzle(positionRef, swizzleOffsetZ); in transformDepthBeforeCorrection()
DShaderStorageBlockFunctionHLSL.h37 class TIntermSwizzle; variable
62 TIntermSwizzle *node);
DIntermNode.h45 class TIntermSwizzle; variable
98 virtual TIntermSwizzle *getAsSwizzleNode() { return nullptr; } in getAsSwizzleNode()
423 class TIntermSwizzle : public TIntermExpression
427 TIntermSwizzle(TIntermTyped *operand, const TVector<int> &swizzleOffsets);
429 TIntermTyped *deepCopy() const override { return new TIntermSwizzle(*this); } in deepCopy()
431 TIntermSwizzle *getAsSwizzleNode() override { return this; } in getAsSwizzleNode()
459 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.cpp43 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in GetBlockLayoutInfo()
405 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in setMatrixStride()
471 const TIntermSwizzle *parentSwizzle = parent->getAsSwizzleNode(); in isEndOfSSBOAccessChain()
543 bool ShaderStorageBlockOutputHLSL::visitSwizzle(Visit visit, TIntermSwizzle *node) in visitSwizzle()
DValidateAST.cpp27 bool visitSwizzle(Visit visit, TIntermSwizzle *node) override;
143 bool ValidateAST::visitSwizzle(Visit visit, TIntermSwizzle *node) in visitSwizzle()
DShaderStorageBlockOutputHLSL.h65 bool visitSwizzle(Visit visit, TIntermSwizzle *node) override;
DIntermNode.cpp294 size_t TIntermSwizzle::getChildCount() const in getChildCount()
299 TIntermNode *TIntermSwizzle::getChildNode(size_t index) const in getChildNode()
306 bool TIntermSwizzle::replaceChildNode(TIntermNode *original, TIntermNode *replacement) in replaceChildNode()
1050 TIntermSwizzle::TIntermSwizzle(const TIntermSwizzle &node) : TIntermExpression(node) in TIntermSwizzle() function in sh::TIntermSwizzle
1302 TIntermSwizzle::TIntermSwizzle(TIntermTyped *operand, const TVector<int> &swizzleOffsets) in TIntermSwizzle() function in sh::TIntermSwizzle
1455 void TIntermSwizzle::promote() in promote()
1466 bool TIntermSwizzle::hasDuplicateOffsets() const in hasDuplicateOffsets()
1484 void TIntermSwizzle::setHasFoldedDuplicateOffsets(bool hasFoldedDuplicateOffsets) in setHasFoldedDuplicateOffsets()
1489 bool TIntermSwizzle::offsetsMatch(int offset) const in offsetsMatch()
1494 void TIntermSwizzle::writeOffsetsAsXYZW(TInfoSinkBase *out) const in writeOffsetsAsXYZW()
[all …]
DOutputTree.cpp41 bool visitSwizzle(Visit visit, TIntermSwizzle *node) override;
103 bool TOutputTraverser::visitSwizzle(Visit visit, TIntermSwizzle *node) in visitSwizzle()
DOutputGLSLBase.h60 bool visitSwizzle(Visit visit, TIntermSwizzle *node) override;
DOutputHLSL.h93 bool visitSwizzle(Visit visit, TIntermSwizzle *node) override;
DShaderStorageBlockFunctionHLSL.cpp253 TIntermSwizzle *swizzleNode) in registerShaderStorageBlockFunction()
Dutil.cpp777 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in IsInShaderStorageBlock()
DOutputGLSLBase.cpp534 bool TOutputGLSLBase::visitSwizzle(Visit visit, TIntermSwizzle *node) in visitSwizzle()
DParseContext.cpp451 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in markStaticReadIfSymbol()
483 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in checkCanBeLValue()
4289 TIntermSwizzle *node = new TIntermSwizzle(baseExpression, fieldOffsets); in addFieldSelectionExpression()
/external/angle/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp43 return new TIntermSwizzle(array, {i}); in Swizzle1()
493 TIntermSwizzle *x = new TIntermSwizzle(p->deepCopy(), {0}); in declareCoordTranslationFunction()
494 TIntermSwizzle *y = new TIntermSwizzle(p->deepCopy(), {1}); in declareCoordTranslationFunction()
495 TIntermSwizzle *z = new TIntermSwizzle(p->deepCopy(), {2}); in declareCoordTranslationFunction()
656 TIntermSwizzle *dPdxX = new TIntermSwizzle(dPdx->deepCopy(), {0}); in declareCoordTranslationFunction()
657 TIntermSwizzle *dPdxY = new TIntermSwizzle(dPdx->deepCopy(), {1}); in declareCoordTranslationFunction()
658 TIntermSwizzle *dPdxZ = new TIntermSwizzle(dPdx->deepCopy(), {2}); in declareCoordTranslationFunction()
660 TIntermSwizzle *dPdyX = new TIntermSwizzle(dPdy->deepCopy(), {0}); in declareCoordTranslationFunction()
661 TIntermSwizzle *dPdyY = new TIntermSwizzle(dPdy->deepCopy(), {1}); in declareCoordTranslationFunction()
662 TIntermSwizzle *dPdyZ = new TIntermSwizzle(dPdy->deepCopy(), {2}); in declareCoordTranslationFunction()
DVectorizeVectorScalarArithmetic.cpp196 TIntermSwizzle *tempAssignmentTargetX = in replaceAssignInsideConstructor()
197 new TIntermSwizzle(CreateTempSymbolNode(tempAssignmentTarget), swizzleXOffset); in replaceAssignInsideConstructor()
DRemoveSwitchFallThrough.cpp38 bool visitSwizzle(Visit, TIntermSwizzle *node) override;
134 bool RemoveSwitchFallThroughTraverser::visitSwizzle(Visit, TIntermSwizzle *node) in visitSwizzle()
DFoldExpressions.cpp85 bool visitSwizzle(Visit visit, TIntermSwizzle *node) override in visitSwizzle()
DRewriteRowMajorMatrices.cpp135 TIntermSwizzle *asSwizzle = node->getAsSwizzleNode(); in GetIndex()
167 TIntermSwizzle *asSwizzle = node->getAsSwizzleNode(); in ReplicateIndexNode()
170 return new TIntermSwizzle(lhs, asSwizzle->getSwizzleOffsets()); in ReplicateIndexNode()
/external/angle/src/compiler/translator/tree_util/
DIntermNode_util.h86 TIntermSwizzle *CreateSwizzle(TIntermTyped *reference, ArgsT... args) in CreateSwizzle()
90 return new TIntermSwizzle(reference, swizzleIndex); in CreateSwizzle()
DIntermTraverse.h46 virtual bool visitSwizzle(Visit visit, TIntermSwizzle *node) { return true; } in visitSwizzle()
DIntermTraverse.cpp144 bool TIntermSwizzle::visit(Visit visit, TIntermTraverser *it) in visit()
/external/angle/src/tests/test_utils/
DShaderCompileTreeTest.cpp48 bool visitSwizzle(Visit, TIntermSwizzle *node) override in visitSwizzle()

12