Home
last modified time | relevance | path

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

12

/external/angle/src/compiler/translator/tree_ops/d3d/
DRecordUniformBlocksWithLargeArrayMember.cpp44 std::map<int, const TInterfaceBlock *> &getUniformBlockMayTranslation() in getUniformBlockMayTranslation()
48 std::map<int, const TInterfaceBlock *> &getUniformBlockNotAllowTranslation() in getUniformBlockNotAllowTranslation()
56 std::map<int, const TInterfaceBlock *> &getUniformBlockWithLargeArrayMember() in getUniformBlockWithLargeArrayMember()
62 std::map<int, const TInterfaceBlock *> mUniformBlockMayTranslation;
63 std::map<int, const TInterfaceBlock *> mUniformBlockNotAllowTranslation;
65 std::map<int, const TInterfaceBlock *> mUniformBlockWithLargeArrayMember;
108 static bool CanTranslateUniformBlockToStructuredBuffer(const TInterfaceBlock &interfaceBlock) in CanTranslateUniformBlockToStructuredBuffer()
152 static bool IsInterfaceBlockWithLargeArrayField(const TInterfaceBlock &interfaceBlock) in IsInterfaceBlockWithLargeArrayField()
176 const TInterfaceBlock *interfaceBlock = variableType.getInterfaceBlock(); in visitSymbol()
261 const TInterfaceBlock *interfaceBlock = leftType.getInterfaceBlock(); in visitBinary()
[all …]
DRecordUniformBlocksWithLargeArrayMember.h24 std::map<int, const TInterfaceBlock *> &uniformBlockOptimizedMap,
/external/angle/src/compiler/translator/
DResourcesHLSL.h43 const std::map<int, const TInterfaceBlock *> &uniformBlockOptimizedMap);
74 TString uniformBlockString(const TInterfaceBlock &interfaceBlock,
78 TString uniformBlockWithOneLargeArrayMemberString(const TInterfaceBlock &interfaceBlock,
83 TString shaderStorageBlockString(const TInterfaceBlock &interfaceBlock,
87 TString uniformBlockMembersString(const TInterfaceBlock &interfaceBlock,
89 TString uniformBlockStructString(const TInterfaceBlock &interfaceBlock);
DFlagStd140Structs.cpp31 void mapBlockStructMembers(TIntermSymbol *blockDeclarator, const TInterfaceBlock *block);
37 const TInterfaceBlock *block) in mapBlockStructMembers()
56 const TInterfaceBlock *block = declarator->getType().getInterfaceBlock(); in visitDeclaration()
DShaderStorageBlockOutputHLSL.cpp79 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); in GetBlockLayoutInfo()
123 const TField *GetFieldMemberInShaderStorageBlock(const TInterfaceBlock *interfaceBlock, in GetFieldMemberInShaderStorageBlock()
136 const InterfaceBlock *FindInterfaceBlock(const TInterfaceBlock *needle, in FindInterfaceBlock()
271 void GetShaderStorageBlockMembersInfo(const TInterfaceBlock *interfaceBlock, in GetShaderStorageBlockMembersInfo()
435 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); in collectShaderStorageBlocks()
469 const TInterfaceBlock *interfaceBlock = in traverseSSBOAccess()
482 const TInterfaceBlock *interfaceBlock = symbolNode->getType().getInterfaceBlock(); in traverseSSBOAccess()
526 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); in traverseNode()
580 const TInterfaceBlock *interfaceBlock = in traverseNode()
DTypes.h23 class TInterfaceBlock; variable
104 TType(const TInterfaceBlock *interfaceBlockIn,
233 const TInterfaceBlock *getInterfaceBlock() const { return mInterfaceBlock; } in getInterfaceBlock()
234 void setInterfaceBlock(const TInterfaceBlock *interfaceBlockIn);
237 void setInterfaceBlockField(const TInterfaceBlock *interfaceBlockIn, size_t fieldIndex);
395 const TInterfaceBlock *mInterfaceBlock;
DSymbol.h216 class TInterfaceBlock : public TSymbol, public TFieldListCollection
219 TInterfaceBlock(TSymbolTable *symbolTable,
226 TInterfaceBlock(TSymbolTable *symbolTable,
239 TInterfaceBlock(const TSymbolUniqueId &id, in TInterfaceBlock() function
254 TInterfaceBlock(const TSymbolUniqueId &id, in TInterfaceBlock() function
DResourcesHLSL.cpp71 static TString InterfaceBlockStructName(const TInterfaceBlock &interfaceBlock) in InterfaceBlockStructName()
700 const std::map<int, const TInterfaceBlock *> &uniformBlockOptimizedMap) in uniformBlocksHeader()
706 const TInterfaceBlock &interfaceBlock = *blockReference.second->block; in uniformBlocksHeader()
772 const TInterfaceBlock &interfaceBlock = *interfaceBlockReference.second->block; in shaderStorageBlocksHeader()
799 TString ResourcesHLSL::uniformBlockString(const TInterfaceBlock &interfaceBlock, in uniformBlockString()
829 const TInterfaceBlock &interfaceBlock, in uniformBlockWithOneLargeArrayMemberString()
878 TString ResourcesHLSL::shaderStorageBlockString(const TInterfaceBlock &interfaceBlock, in shaderStorageBlockString()
911 TString ResourcesHLSL::uniformBlockMembersString(const TInterfaceBlock &interfaceBlock, in uniformBlockMembersString()
947 TString ResourcesHLSL::uniformBlockStructString(const TInterfaceBlock &interfaceBlock) in uniformBlockStructString()
DShaderStorageBlockOutputHLSL.h26 TReferencedBlock(const TInterfaceBlock *block, const TVariable *instanceVariable);
27 const TInterfaceBlock *block;
DSymbol.cpp157 TInterfaceBlock::TInterfaceBlock(TSymbolTable *symbolTable, in TInterfaceBlock() function in sh::TInterfaceBlock
171 TInterfaceBlock::TInterfaceBlock(TSymbolTable *symbolTable, in TInterfaceBlock() function in sh::TInterfaceBlock
DValidateAST.cpp78 std::set<const TInterfaceBlock *> mNamelessInterfaceBlocks;
334 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); in getStructOrInterfaceBlock()
388 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); in visitSymbol()
601 const TInterfaceBlock *interfaceBlock = variable->getType().getInterfaceBlock(); in visitDeclaration()
DCollectVariables.cpp86 const TInterfaceBlock *interfaceBlock, in FindVariableInInterfaceBlock()
417 const TInterfaceBlock *interfaceBlock = symbol->getType().getInterfaceBlock(); in visitSymbol()
765 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); in setFieldOrVariableProperties()
880 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); in setCommonVariableProperties()
964 const TInterfaceBlock *blockType = type.getInterfaceBlock(); in recordVarying()
1006 const TInterfaceBlock *blockType = interfaceBlockType.getInterfaceBlock(); in recordInterfaceBlock()
1222 const TInterfaceBlock *interfaceBlock = interfaceNodeType.getInterfaceBlock(); in visitBinary()
DTranslatorHLSL.h50 std::map<int, const TInterfaceBlock *> mUniformBlockOptimizedMap;
DOutputHLSL.h53 const std::map<int, const TInterfaceBlock *> &uniformBlockOptimizedMap,
183 std::map<int, const TInterfaceBlock *> mUniformBlockOptimizedMap;
DTypes.cpp211 TType::TType(const TInterfaceBlock *interfaceBlockIn, in TType()
716 void TType::setInterfaceBlock(const TInterfaceBlock *interfaceBlockIn) in setInterfaceBlock()
725 void TType::setInterfaceBlockField(const TInterfaceBlock *interfaceBlockIn, size_t fieldIndex) in setInterfaceBlockField()
DOutputHLSL.cpp79 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); in IsInStd140UniformBlock()
89 const TInterfaceBlock *GetInterfaceBlockOfUniformBlockNearestIndexOperator(TIntermTyped *node) in GetInterfaceBlockOfUniformBlockNearestIndexOperator()
198 TReferencedBlock::TReferencedBlock(const TInterfaceBlock *aBlock, in TReferencedBlock()
313 const std::map<int, const TInterfaceBlock *> &uniformBlockOptimizedMap, in OutputHLSL()
551 const TInterfaceBlock *interfaceBlock = in generateStructMapping()
1197 const TInterfaceBlock *interfaceBlock = variableType.getInterfaceBlock(); in visitSymbol()
1619 const TInterfaceBlock *interfaceBlock = leftType.getInterfaceBlock(); in visitBinary()
1648 const TInterfaceBlock *interfaceBlock = in visitBinary()
1683 const TInterfaceBlock *interfaceBlock = in visitBinary()
1753 const TInterfaceBlock *interfaceBlock = in visitBinary()
DOutputVulkanGLSL.cpp77 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); in writeLayoutQualifier()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DRewriteKeywords.cpp36 Remapping<TInterfaceBlock> mInterfaceBlocks;
104 const TInterfaceBlock *createRenamed(const TInterfaceBlock &interfaceBlock) in createRenamed()
111 new TInterfaceBlock(&mSymbolTable, maybeCreateNewName(interfaceBlock), in createRenamed()
137 else if (const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock()) in createRenamed()
211 const TInterfaceBlock *tryGetRenamed(const TInterfaceBlock &interfaceBlock) in tryGetRenamed()
314 bool needsRenaming(const TInterfaceBlock &interfaceBlock, bool recursive) const in needsRenaming()
332 else if (const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock()) in needsRenaming()
DReduceInterfaceBlocks.cpp25 std::unordered_map<const TInterfaceBlock *, const TVariable *> mLiftedMap;
44 if (const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock()) in visitDeclarationPre()
99 if (const TInterfaceBlock *ib = var.getType().getInterfaceBlock()) in visitSymbolPre()
/external/swiftshader/src/OpenGL/compiler/
DTypes.h185 class TInterfaceBlock : public TFieldListCollection
189 TInterfaceBlock(const TString *name, TFieldList *fields, const TString *instanceName, in POOL_ALLOCATOR_NEW_DELETE()
265 TType(TInterfaceBlock *interfaceBlockIn, TQualifier qualifierIn, in TType()
441 TInterfaceBlock *getInterfaceBlock() const { return interfaceBlock; } in getInterfaceBlock()
442 void setInterfaceBlock(TInterfaceBlock *interfaceBlockIn) { interfaceBlock = interfaceBlockIn; } in setInterfaceBlock()
444TInterfaceBlock *getAsInterfaceBlock() const { return isInterfaceBlock() ? getInterfaceBlock() : n… in getAsInterfaceBlock()
545 TInterfaceBlock *interfaceBlock = nullptr;
/external/angle/src/compiler/translator/tree_ops/
DNameNamelessUniformBuffers.cpp80 const TInterfaceBlock *block = type.getInterfaceBlock(); in visitSymbol()
117 std::unordered_map<const TInterfaceBlock *, const TVariable *> mNamelessUniformBuffersMap;
DForcePrecisionQualifier.cpp72 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); in visitDeclaration()
DRewriteRowMajorMatrices.cpp202 const TInterfaceBlock *interfaceBlock = asBinary->getLeft()->getType().getInterfaceBlock(); in IsConvertedField()
465 const TInterfaceBlock *block = type.getInterfaceBlock(); in visitDeclaration()
566 const TInterfaceBlock *block = type.getInterfaceBlock(); in convertInterfaceBlock()
598 TInterfaceBlock *newInterfaceBlock = in convertInterfaceBlock()
599 new TInterfaceBlock(mSymbolTable, block->name(), newFields, blockLayoutQualifier, in convertInterfaceBlock()
643 const TInterfaceBlock *interfaceBlock = symbol->getType().getInterfaceBlock(); in convertNamelessInterfaceBlockField()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DDeclarePerVertexBlocks.cpp243 TInterfaceBlock *interfaceBlock = in declarePerVertex()
244 new TInterfaceBlock(mSymbolTable, ImmutableString("gl_PerVertex"), fields, in declarePerVertex()
/external/angle/src/compiler/translator/tree_util/
DIntermNode_util.cpp282 TInterfaceBlock *interfaceBlock = new TInterfaceBlock( in DeclareInterfaceBlock()

12