Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/tree_ops/
DInitializeVariables.cpp25 void AddArrayZeroInitSequence(const TIntermTyped *initializedNode,
31 void AddStructZeroInitSequence(const TIntermTyped *initializedNode,
37 TIntermBinary *CreateZeroInitAssignment(const TIntermTyped *initializedNode) in CreateZeroInitAssignment() argument
39 TIntermTyped *zero = CreateZeroNode(initializedNode->getType()); in CreateZeroInitAssignment()
40 return new TIntermBinary(EOpAssign, initializedNode->deepCopy(), zero); in CreateZeroInitAssignment()
43 void AddZeroInitSequence(const TIntermTyped *initializedNode, in AddZeroInitSequence() argument
49 if (initializedNode->isArray()) in AddZeroInitSequence()
51 AddArrayZeroInitSequence(initializedNode, canUseLoopsToInitialize, highPrecisionSupported, in AddZeroInitSequence()
54 else if (initializedNode->getType().isStructureContainingArrays() || in AddZeroInitSequence()
55 initializedNode->getType().isNamelessStruct()) in AddZeroInitSequence()
[all …]