/external/angle/src/compiler/translator/ |
D | OutputVulkanGLSL.cpp | 73 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()
|
D | ResourcesHLSL.cpp | 46 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 …]
|
D | FlagStd140Structs.cpp | 57 if (block->blockStorage() == EbsStd140) in visitDeclaration()
|
D | BaseTypes.h | 1131 blockStorage == EbsUnspecified && !localSize.isAnyValueSet() && in isEmpty() 1144 blockStorage != EbsUnspecified || imageInternalFormat != EiifUnspecified); in isCombinationValid() 1163 TLayoutBlockStorage blockStorage; member 1196 blockStorage(EbsUnspecified), in TLayoutQualifier()
|
D | QualifierTypes.cpp | 677 if (rightQualifier.blockStorage != EbsUnspecified) in JoinLayoutQualifiers() 679 joinedQualifier.blockStorage = rightQualifier.blockStorage; in JoinLayoutQualifiers()
|
D | ParseContext.cpp | 964 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 …]
|
D | ResourcesHLSL.h | 88 TLayoutBlockStorage blockStorage);
|
D | CollectVariables.cpp | 23 BlockLayoutType GetBlockLayoutType(TLayoutBlockStorage blockStorage) in GetBlockLayoutType() argument 25 switch (blockStorage) in GetBlockLayoutType() 783 interfaceBlock->layout = GetBlockLayoutType(blockType->blockStorage()); in recordInterfaceBlock()
|
D | Symbol.h | 159 TLayoutBlockStorage blockStorage() const { return mBlockStorage; } in blockStorage() function
|
D | ShaderStorageBlockOutputHLSL.cpp | 80 *storage = interfaceBlock->blockStorage(); in GetBlockLayoutInfo() 287 BlockInfoVisitor visitor("", interfaceBlock->blockStorage(), shaderVarToFieldMap, blockInfoOut); in GetShaderStorageBlockMembersInfo()
|
D | Symbol.cpp | 142 mBlockStorage(layoutQualifier.blockStorage), in TInterfaceBlock()
|
D | ParseContext.h | 154 const TLayoutBlockStorage &blockStorage,
|
D | OutputGLSLBase.cpp | 1326 switch (interfaceBlock->blockStorage()) in declareInterfaceBlockLayout()
|
D | OutputHLSL.cpp | 82 return (interfaceBlock->blockStorage() == EbsStd140); in IsInStd140UniformBlock()
|
/external/angle/src/tests/compiler_tests/ |
D | QualificationOrderESSL31_test.cpp | 131 EXPECT_EQ(EbsStd140, layoutQualifier.blockStorage); in TEST_F() 159 EXPECT_EQ(EbsShared, layoutQualifier.blockStorage); in TEST_F()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | BaseTypes.h | 414 layoutQualifier.blockStorage = EbsUnspecified; in create() 421 return location == -1 && matrixPacking == EmpUnspecified && blockStorage == EbsUnspecified; in isEmpty() 426 TLayoutBlockStorage blockStorage; member
|
D | ParseHelper.cpp | 737 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 …]
|
D | Types.h | 194 mBlockStorage(layoutQualifier.blockStorage), in POOL_ALLOCATOR_NEW_DELETE() 215 TLayoutBlockStorage blockStorage() const in blockStorage() function
|
D | OutputASM.cpp | 690 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()
|