Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/
DShaderStorageBlockOutputHLSL.cpp44 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in GetBlockLayoutInfo() local
45 if (swizzleNode) in GetBlockLayoutInfo()
47 return GetBlockLayoutInfo(swizzleNode->getOperand(), rowMajorAlreadyAssigned, storage, in GetBlockLayoutInfo()
395 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in getMatrixStride() local
396 if (swizzleNode) in getMatrixStride()
398 return getMatrixStride(swizzleNode->getOperand(), storage, rowMajor, in getMatrixStride()
408 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in collectShaderStorageBlocks() local
409 if (swizzleNode) in collectShaderStorageBlocks()
411 return collectShaderStorageBlocks(swizzleNode->getOperand()); in collectShaderStorageBlocks()
533 else if (TIntermSwizzle *swizzleNode = node->getAsSwizzleNode()) in traverseNode() local
[all …]
DShaderStorageBlockFunctionHLSL.cpp253 TIntermSwizzle *swizzleNode) in registerShaderStorageBlockFunction() argument
309 if (swizzleNode != nullptr) in registerShaderStorageBlockFunction()
311 ssboFunction.swizzleOffsets = swizzleNode->getSwizzleOffsets(); in registerShaderStorageBlockFunction()
Dutil.cpp803 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in IsInShaderStorageBlock() local
804 if (swizzleNode) in IsInShaderStorageBlock()
806 return IsInShaderStorageBlock(swizzleNode->getOperand()); in IsInShaderStorageBlock()
DParseContext.cpp484 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in markStaticReadIfSymbol() local
485 if (swizzleNode) in markStaticReadIfSymbol()
487 markStaticReadIfSymbol(swizzleNode->getOperand()); in markStaticReadIfSymbol()
516 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in checkCanBeLValue() local
517 if (swizzleNode) in checkCanBeLValue()
519 bool ok = checkCanBeLValue(line, op, swizzleNode->getOperand()); in checkCanBeLValue()
520 if (ok && swizzleNode->hasDuplicateOffsets()) in checkCanBeLValue()
677 ASSERT(binaryNode == nullptr && swizzleNode == nullptr); in checkCanBeLValue()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DRewriteUnaddressableReferences.cpp291 PostResult visitSwizzlePost(TIntermSwizzle &swizzleNode) override in visitSwizzlePost() argument
295 return swizzleNode; in visitSwizzlePost()
298 TIntermTyped &vecNode = *swizzleNode.getOperand(); in visitSwizzlePost()
299 const TQualifierList &offsets = swizzleNode.getSwizzleOffsets(); in visitSwizzlePost()
312 return mSymbolEnv.callFunctionOverload(Name("swizzle_ref"), swizzleNode.getType(), args); in visitSwizzlePost()
DEmitMetal.cpp1425 bool GenMetalTraverser::visitSwizzle(Visit, TIntermSwizzle *swizzleNode) in visitSwizzle() argument
1427 groupedTraverse(*swizzleNode->getOperand()); in visitSwizzle()
1437 swizzleNode->writeOffsetsAsXYZW(&out); in visitSwizzle()