Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/tree_ops/gl/
DUseInterfaceBlockFields.cpp33 new TIntermBinary(EOpIndexDirect, node->deepCopy(), CreateIndexNode(i)); in AddNodeUseStatements()
57 blockNode->deepCopy(), CreateIndexNode(i)); in InsertUseCode()
82 new TIntermBinary(EOpIndexDirect, arraySymbol->deepCopy(), CreateIndexNode(i)); in InsertUseCode()
/external/angle/src/compiler/translator/tree_util/
DRewriteSampleMaskVariable.cpp90 CreateIndexNode(kMaxIndexForSampleMaskVar), in visitBinary()
155 CreateIndexNode(kMaxIndexForSampleMaskVar)); in RewriteSampleMask()
156 TIntermConstantUnion *fullSampleMask = CreateIndexNode(kFullSampleMask); in RewriteSampleMask()
DReplaceArrayOfMatrixVarying.cpp127 new TIntermBinary(EOpIndexDirect, tempReplaceSymbol->deepCopy(), CreateIndexNode(i)); in ReplaceArrayOfMatrixVarying()
132 EOpIndexDirect, tempMatrixIndexed->deepCopy(), CreateIndexNode(col)); in ReplaceArrayOfMatrixVarying()
135 CreateIndexNode(i * type.getCols() + col)); in ReplaceArrayOfMatrixVarying()
DReplaceClipCullDistanceVariable.cpp202 new TIntermBinary(EOpIndexDirect, leftSymbol->deepCopy(), CreateIndexNode(index)); in simpleAssignFunc()
204 new TIntermBinary(EOpIndexDirect, rightSymbol->deepCopy(), CreateIndexNode(index)); in simpleAssignFunc()
224 new TIntermBinary(EOpIndexDirect, leftSymbol->deepCopy(), CreateIndexNode(index)); in assignFuncWithEnableFlags()
226 new TIntermBinary(EOpIndexDirect, rightSymbol->deepCopy(), CreateIndexNode(index)); in assignFuncWithEnableFlags()
385 EOpIndexDirect, glClipCullDistanceSymbol->deepCopy(), CreateIndexNode(i)); in assignANGLEValueToOriginalVariableImpl()
DIntermNode_util.h27 TIntermConstantUnion *CreateIndexNode(int index);
DDriverUniform.cpp252 return new TIntermBinary(EOpIndexDirectStruct, depthRange, CreateIndexNode(3)); in getDepthRangeReservedFieldRef()
DIntermNode_util.cpp125 TIntermConstantUnion *CreateIndexNode(int index) in CreateIndexNode() function
/external/angle/src/compiler/translator/tree_ops/
DRewriteAtomicCounters.cpp62 EOpIndexDirect, uniformBufferOffsets->deepCopy(), CreateIndexNode(binding / 4)); in CreateUniformBufferOffset()
154 index = new TIntermBinary(EOpAdd, index, CreateIndexNode(offset)); in CreateAtomicCounterRef()
165 new TIntermBinary(EOpIndexDirect, atomicCountersRef, CreateIndexNode(binding)); in CreateAtomicCounterRef()
169 new TIntermBinary(EOpIndexDirectInterfaceBlock, countersBlock, CreateIndexNode(0)); in CreateAtomicCounterRef()
DInitializeVariables.cpp77 initializedNode->deepCopy(), CreateIndexNode(i)); in AddStructZeroInitSequence()
95 new TIntermBinary(EOpIndexDirect, initializedNode->deepCopy(), CreateIndexNode(i)); in AddArrayZeroInitStatementList()
115 TIntermConstantUnion *arraySizeNode = CreateIndexNode(initializedNode->getOutermostArraySize()); in AddArrayZeroInitForLoop()
193 new TIntermBinary(EOpIndexDirect, initializedSymbol, CreateIndexNode(0)); in InsertInitCode()
DRewriteDfdy.cpp142 halfRotationMat = new TIntermBinary(EOpIndexDirect, fragRotation, CreateIndexNode(0)); in visitAggregateWithRotation()
146 halfRotationMat = new TIntermBinary(EOpIndexDirect, fragRotation, CreateIndexNode(1)); in visitAggregateWithRotation()
205 flipY = new TIntermBinary(EOpIndexDirect, flipXY, CreateIndexNode(1)); in visitAggregateWithoutRotation()
DClampIndirectIndices.cpp66 max = new TIntermBinary(EOpSub, max, CreateIndexNode(1)); in visitBinary()
127 return CreateIndexNode(value); in createClampValue()
DScalarizeVecAndMatConstructorArgs.cpp31 return new TIntermBinary(EOpIndexDirect, symbolNode, CreateIndexNode(index)); in ConstructVectorIndexBinaryNode()
38 return new TIntermBinary(EOpIndexDirect, colVectorNode, CreateIndexNode(rowIndex)); in ConstructMatrixIndexBinaryNode()
DRemoveDynamicIndexing.cpp196 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(i)); in GetIndexFunctionDefinition()
231 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(0)); in GetIndexFunctionDefinition()
233 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(numCases - 1)); in GetIndexFunctionDefinition()
DNameNamelessUniformBuffers.cpp105 CreateIndexNode(static_cast<uint32_t>(fieldIndex))); in visitSymbol()
DEmulateGLFragColorBroadcast.cpp60 TIntermTyped *indexNode = CreateIndexNode(index); in constructGLFragDataNode()
DRewriteRowMajorMatrices.cpp141 indices->push_back(CreateIndexNode(channel)); in GetIndex()
285 element = new TIntermBinary(EOpIndexDirect, element, CreateIndexNode(index)); in getCurrentElement()
918 secondaryIndices.push_back(CreateIndexNode(r)); in transformExpression()
1471 TIntermTyped *fieldIndexNode = CreateIndexNode(static_cast<int>(fieldIndex)); in declareStructCopy()
DRewriteStructSamplers.cpp299 CreateIndexNode(mappedFieldIndex)); in RewriteModifiedStructFieldSelectionExpression()
DRewriteCubeMapSamplersAs2DArray.cpp51 return new TIntermBinary(EOpIndexDirect, array, CreateIndexNode(i)); in IndexDirect()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteArrayOfArrayOfOpaqueUniforms.cpp186 new TIntermBinary(EOpMul, indexExpression, CreateIndexNode(subArraySize)); in RewriteArrayOfArraySubscriptExpression()
218 index = CreateIndexNode(constantOffset); in RewriteArrayOfArraySubscriptExpression()
DReplaceForShaderFramebufferFetch.cpp557 CreateIndexNode(index)); in loadInputAttachmentDataImpl()
571 CreateIndexNode(inputAttachmentIndex)); in loadInputAttachmentDataImpl()
/external/angle/src/tests/compiler_tests/
DInitOutputVariables_test.cpp94 CreateIndexNode(static_cast<int>(index))); in CreateIndexedLValueNodeList()
/external/swiftshader/src/OpenGL/compiler/
Dintermediate.h338 static TIntermTyped *CreateIndexNode(int index);
DIntermediate.cpp790 TIntermTyped *TIntermTyped::CreateIndexNode(int index) in CreateIndexNode() function in TIntermTyped
DParseHelper.cpp2717 TIntermTyped *index = TIntermTyped::CreateIndexNode(i); in addFieldSelectionExpression()
/external/angle/src/compiler/translator/
DParseContext.cpp4907 TIntermTyped *index = CreateIndexNode(i); in addFieldSelectionExpression()
4943 TIntermTyped *index = CreateIndexNode(i); in addFieldSelectionExpression()