Home
last modified time | relevance | path

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

12

/external/angle/src/compiler/translator/
DOutputVulkanGLSL.cpp72 const char *blockStorage = nullptr; in writeLayoutQualifier() local
78 TLayoutBlockStorage storage = interfaceBlock->blockStorage(); in writeLayoutQualifier()
91 if (interfaceBlock->blockStorage() != EbsUnspecified) in writeLayoutQualifier()
93 blockStorage = getBlockStorageString(storage); in writeLayoutQualifier()
149 if (blockStorage) in writeLayoutQualifier()
151 out << separator << blockStorage; in writeLayoutQualifier()
DResourcesHLSL.cpp41 TLayoutBlockStorage blockStorage, in InterfaceBlockFieldTypeString() argument
60 bool forcePackingEnd = usedStructuredbuffer && (blockStorage == EbsStd140); in InterfaceBlockFieldTypeString()
63 blockStorage == EbsStd140, forcePackingEnd); in InterfaceBlockFieldTypeString()
819 const TLayoutBlockStorage blockStorage = interfaceBlock.blockStorage(); in uniformBlockString() local
820 hlsl += uniformBlockMembersString(interfaceBlock, blockStorage); in uniformBlockString()
837 const TLayoutBlockStorage blockStorage = interfaceBlock.blockStorage(); in uniformBlockWithOneLargeArrayMemberString() local
838 typeString = InterfaceBlockFieldTypeString(field, blockStorage, true); in uniformBlockWithOneLargeArrayMemberString()
912 TLayoutBlockStorage blockStorage) in uniformBlockMembersString() argument
924 if (blockStorage == EbsStd140) in uniformBlockMembersString()
930 hlsl += " " + InterfaceBlockFieldTypeString(field, blockStorage, false) + " " + in uniformBlockMembersString()
[all …]
DBuildSPIRV.cpp36 return a.typeSpec.blockStorage == b.typeSpec.blockStorage && in operator ==()
47 a.typeSpec.blockStorage == b.typeSpec.blockStorage && in operator ==()
82 return parentTypeSpec.blockStorage != EbsUnspecified && type.isArray() && type.isMatrix() && in IsNonSquareRowMajorArrayInBlock()
98 TLayoutBlockStorage blockStorage = type.getLayoutQualifier().blockStorage; in GetBlockStorage() local
102 if (blockStorage == EbsUnspecified && type.getInterfaceBlock() != nullptr) in GetBlockStorage()
104 blockStorage = type.getInterfaceBlock()->blockStorage(); in GetBlockStorage()
107 if (IsShaderIoBlock(type.getQualifier()) || blockStorage == EbsStd140 || in GetBlockStorage()
108 blockStorage == EbsStd430) in GetBlockStorage()
110 return blockStorage; in GetBlockStorage()
274 if (blockStorage == EbsUnspecified && (isBlock || type.isArray())) in inferDefaults()
[all …]
DBuildSPIRV.h46 TLayoutBlockStorage blockStorage = EbsUnspecified; variable
133 ASSERT(type.typeSpec.blockStorage == sh::EbsUnspecified || type.block != nullptr || in operator()
147 type.typeSpec.blockStorage != sh::EbsUnspecified)); in operator()
163 (type.typeSpec.blockStorage << 3); in operator()
176 static_cast<uint8_t>(type.typeSpec.blockStorage | type.imageInternalFormat << 3), in operator()
DFlagStd140Structs.cpp57 if (block->blockStorage() == EbsStd140) in visitDeclaration()
DSymbol.cpp165 mBlockStorage(layoutQualifier.blockStorage), in TInterfaceBlock()
179 mBlockStorage(layoutQualifier.blockStorage), in TInterfaceBlock()
DBaseTypes.h1294 blockStorage == EbsUnspecified && !localSize.isAnyValueSet() && in isEmpty()
1311 blockStorage != EbsUnspecified || imageInternalFormat != EiifUnspecified); in isCombinationValid()
1331 TLayoutBlockStorage blockStorage; member
1375 blockStorage(EbsUnspecified), in TLayoutQualifier()
DQualifierTypes.cpp730 if (rightQualifier.blockStorage != EbsUnspecified) in JoinLayoutQualifiers()
732 joinedQualifier.blockStorage = rightQualifier.blockStorage; in JoinLayoutQualifiers()
DResourcesHLSL.h88 TLayoutBlockStorage blockStorage);
DParseContext.cpp1021 const TLayoutBlockStorage &blockStorage, in checkStd430IsForShaderStorageBlock() argument
1024 if (blockStorage == EbsStd430 && qualifier != EvqBuffer) in checkStd430IsForShaderStorageBlock()
1524 if (layoutQualifier.blockStorage != EbsUnspecified) in declarationQualifierErrorCheck()
1527 getBlockStorageString(layoutQualifier.blockStorage)); in declarationQualifierErrorCheck()
3559 checkStd430IsForShaderStorageBlock(typeQualifier.line, layoutQualifier.blockStorage, in parseGlobalLayoutQualifier()
3756 if (layoutQualifier.blockStorage != EbsUnspecified) in parseGlobalLayoutQualifier()
3760 mDefaultUniformBlockStorage = layoutQualifier.blockStorage; in parseGlobalLayoutQualifier()
3764 mDefaultBufferBlockStorage = layoutQualifier.blockStorage; in parseGlobalLayoutQualifier()
4360 checkStd430IsForShaderStorageBlock(typeQualifier.line, blockLayoutQualifier.blockStorage, in addInterfaceBlock()
4375 if (blockLayoutQualifier.blockStorage == EbsUnspecified) in addInterfaceBlock()
[all …]
DShaderStorageBlockOutputHLSL.cpp81 *storage = interfaceBlock->blockStorage(); in GetBlockLayoutInfo()
288 BlockInfoVisitor visitor("", interfaceBlock->blockStorage(), shaderVarToFieldMap, blockInfoOut); in GetShaderStorageBlockMembersInfo()
DCollectVariables.cpp23 BlockLayoutType GetBlockLayoutType(TLayoutBlockStorage blockStorage) in GetBlockLayoutType() argument
25 switch (blockStorage) in GetBlockLayoutType()
1041 interfaceBlock->layout = GetBlockLayoutType(blockType->blockStorage()); in recordInterfaceBlock()
DSymbol.h233 TLayoutBlockStorage blockStorage() const { return mBlockStorage; } in blockStorage() function
DParseContext.h154 const TLayoutBlockStorage &blockStorage,
DOutputGLSLBase.cpp1157 switch (interfaceBlock->blockStorage()) in declareInterfaceBlockLayout()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRecordUniformBlocksWithLargeArrayMember.cpp110 const TLayoutBlockStorage blockStorage = interfaceBlock.blockStorage(); in CanTranslateUniformBlockToStructuredBuffer() local
112 if (blockStorage == EbsStd140 && interfaceBlock.fields().size() == 1u) in CanTranslateUniformBlockToStructuredBuffer()
227 if (interfaceBlock->blockStorage() == EbsStd140 && in visitSymbol()
278 if (interfaceBlock->blockStorage() == EbsStd140 && in visitBinary()
317 if (interfaceBlock->blockStorage() == EbsStd140 && in visitBinary()
/external/angle/src/tests/compiler_tests/
DQualificationOrderESSL31_test.cpp130 EXPECT_EQ(EbsStd140, layoutQualifier.blockStorage); in TEST_F()
158 EXPECT_EQ(EbsShared, layoutQualifier.blockStorage); in TEST_F()
/external/swiftshader/src/OpenGL/compiler/
DBaseTypes.h414 layoutQualifier.blockStorage = EbsUnspecified; in create()
421 return location == -1 && matrixPacking == EmpUnspecified && blockStorage == EbsUnspecified; in isEmpty()
426 TLayoutBlockStorage blockStorage; member
DParseHelper.cpp737 if(layoutQualifier.blockStorage != EbsUnspecified) in singleDeclarationErrorCheck()
739 error(identifierLocation, "layout qualifier", getBlockStorageString(layoutQualifier.blockStorage), in singleDeclarationErrorCheck()
1822 if(layoutQualifier.blockStorage != EbsUnspecified) in parseGlobalLayoutQualifier()
1824 mDefaultBlockStorage = layoutQualifier.blockStorage; in parseGlobalLayoutQualifier()
2357 if(blockLayoutQualifier.blockStorage == EbsUnspecified) in addInterfaceBlock()
2359 blockLayoutQualifier.blockStorage = mDefaultBlockStorage; in addInterfaceBlock()
2395 if(fieldLayoutQualifier.blockStorage != EbsUnspecified) in addInterfaceBlock()
2397 …nvalid layout qualifier:", getBlockStorageString(fieldLayoutQualifier.blockStorage), "cannot be us… in addInterfaceBlock()
2795 qualifier.blockStorage = EbsUnspecified; in parseLayoutQualifier()
2799 qualifier.blockStorage = EbsShared; in parseLayoutQualifier()
[all …]
DTypes.h194 mBlockStorage(layoutQualifier.blockStorage), in POOL_ALLOCATOR_NEW_DELETE()
215 TLayoutBlockStorage blockStorage() const in blockStorage() function
DOutputASM.cpp690 if(block && ((block->blockStorage() == EbsShared) || (block->blockStorage() == EbsStd140))) in visitSymbol()
3560 ASSERT(listBlock->blockStorage() == varBlock->blockStorage()); in lookup()
3744 … block->blockStorage(), isRowMajor, registerIndex, blockId)); in declareUniform()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DLayout.cpp107 const TLayoutBlockStorage storage = type.getLayoutQualifier().blockStorage; in MetalLayoutOf()
183 const TLayoutBlockStorage newStorage = type.getLayoutQualifier().blockStorage; in Overlay()
225 return CanBePacked(layoutQualifier.blockStorage); in CanBePacked()
240 qual.blockStorage = storage; in SetBlockStorage()
DRewriteKeywords.cpp107 layoutQualifier.blockStorage = interfaceBlock.blockStorage(); in createRenamed()
DModifyStruct.cpp325 layoutQualifier.blockStorage = storage; in addModifiedField()
447 TLayoutBlockStorage storage = type.getLayoutQualifier().blockStorage; in introducePacking()
488 const TLayoutBlockStorage packedStorage = currType.getLayoutQualifier().blockStorage; in introducePacking()
/external/angle/third_party/vulkan-deps/glslang/src/StandAlone/
DStandAlone.cpp422 glslang::TBlockStorageClass blockStorage = glslang::EbsNone; in ProcessBlockStorage() local
426 blockStorage = glslang::EbsUniform; in ProcessBlockStorage()
428 blockStorage = glslang::EbsStorageBuffer; in ProcessBlockStorage()
430 blockStorage = glslang::EbsPushConstant; in ProcessBlockStorage()
436 storage.push_back(std::make_pair(std::string(argv[1]), blockStorage)); in ProcessBlockStorage()

12