Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/
DOutputVulkanGLSL.cpp73 const char *blockStorage = nullptr; in writeLayoutQualifier() local
82 TLayoutBlockStorage storage = interfaceBlock->blockStorage(); in writeLayoutQualifier()
95 if (interfaceBlock->blockStorage() != EbsUnspecified) in writeLayoutQualifier()
97 blockStorage = getBlockStorageString(storage); in writeLayoutQualifier()
133 if (blockStorage) in writeLayoutQualifier()
135 out << separator << blockStorage; in writeLayoutQualifier()
DResourcesHLSL.cpp46 TLayoutBlockStorage blockStorage, in InterfaceBlockFieldTypeString() argument
65 bool forcePackingEnd = usedStructuredbuffer && (blockStorage == EbsStd140); in InterfaceBlockFieldTypeString()
68 blockStorage == EbsStd140, forcePackingEnd); in InterfaceBlockFieldTypeString()
763 const TLayoutBlockStorage blockStorage = interfaceBlock.blockStorage(); in uniformBlockString() local
764 hlsl += uniformBlockMembersString(interfaceBlock, blockStorage); in uniformBlockString()
781 const TLayoutBlockStorage blockStorage = interfaceBlock.blockStorage(); in uniformBlockWithOneLargeArrayMemberString() local
782 typeString = InterfaceBlockFieldTypeString(field, blockStorage, true); in uniformBlockWithOneLargeArrayMemberString()
834 TLayoutBlockStorage blockStorage) in uniformBlockMembersString() argument
845 if (blockStorage == EbsStd140) in uniformBlockMembersString()
851 hlsl += " " + InterfaceBlockFieldTypeString(field, blockStorage, false) + " " + in uniformBlockMembersString()
[all …]
DFlagStd140Structs.cpp57 if (block->blockStorage() == EbsStd140) in visitDeclaration()
DBaseTypes.h1131 blockStorage == EbsUnspecified && !localSize.isAnyValueSet() && in isEmpty()
1144 blockStorage != EbsUnspecified || imageInternalFormat != EiifUnspecified); in isCombinationValid()
1163 TLayoutBlockStorage blockStorage; member
1196 blockStorage(EbsUnspecified), in TLayoutQualifier()
DQualifierTypes.cpp677 if (rightQualifier.blockStorage != EbsUnspecified) in JoinLayoutQualifiers()
679 joinedQualifier.blockStorage = rightQualifier.blockStorage; in JoinLayoutQualifiers()
DParseContext.cpp964 const TLayoutBlockStorage &blockStorage, in checkStd430IsForShaderStorageBlock() argument
967 if (blockStorage == EbsStd430 && qualifier != EvqBuffer) in checkStd430IsForShaderStorageBlock()
1374 if (layoutQualifier.blockStorage != EbsUnspecified) in declarationQualifierErrorCheck()
1377 getBlockStorageString(layoutQualifier.blockStorage)); in declarationQualifierErrorCheck()
3122 checkStd430IsForShaderStorageBlock(typeQualifier.line, layoutQualifier.blockStorage, in parseGlobalLayoutQualifier()
3290 if (layoutQualifier.blockStorage != EbsUnspecified) in parseGlobalLayoutQualifier()
3294 mDefaultUniformBlockStorage = layoutQualifier.blockStorage; in parseGlobalLayoutQualifier()
3298 mDefaultBufferBlockStorage = layoutQualifier.blockStorage; in parseGlobalLayoutQualifier()
3803 checkStd430IsForShaderStorageBlock(typeQualifier.line, blockLayoutQualifier.blockStorage, in addInterfaceBlock()
3818 if (blockLayoutQualifier.blockStorage == EbsUnspecified) in addInterfaceBlock()
[all …]
DResourcesHLSL.h88 TLayoutBlockStorage blockStorage);
DCollectVariables.cpp23 BlockLayoutType GetBlockLayoutType(TLayoutBlockStorage blockStorage) in GetBlockLayoutType() argument
25 switch (blockStorage) in GetBlockLayoutType()
783 interfaceBlock->layout = GetBlockLayoutType(blockType->blockStorage()); in recordInterfaceBlock()
DSymbol.h159 TLayoutBlockStorage blockStorage() const { return mBlockStorage; } in blockStorage() function
DShaderStorageBlockOutputHLSL.cpp80 *storage = interfaceBlock->blockStorage(); in GetBlockLayoutInfo()
287 BlockInfoVisitor visitor("", interfaceBlock->blockStorage(), shaderVarToFieldMap, blockInfoOut); in GetShaderStorageBlockMembersInfo()
DSymbol.cpp142 mBlockStorage(layoutQualifier.blockStorage), in TInterfaceBlock()
DParseContext.h154 const TLayoutBlockStorage &blockStorage,
DOutputGLSLBase.cpp1326 switch (interfaceBlock->blockStorage()) in declareInterfaceBlockLayout()
DOutputHLSL.cpp82 return (interfaceBlock->blockStorage() == EbsStd140); in IsInStd140UniformBlock()
/external/angle/src/tests/compiler_tests/
DQualificationOrderESSL31_test.cpp131 EXPECT_EQ(EbsStd140, layoutQualifier.blockStorage); in TEST_F()
159 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()
3546 ASSERT(listBlock->blockStorage() == varBlock->blockStorage()); in lookup()
3730 … block->blockStorage(), isRowMajor, registerIndex, blockId)); in declareUniform()