/external/angle/src/compiler/translator/ |
D | OutputVulkanGLSL.cpp | 72 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()
|
D | ResourcesHLSL.cpp | 41 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 …]
|
D | BuildSPIRV.cpp | 36 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 …]
|
D | BuildSPIRV.h | 46 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()
|
D | FlagStd140Structs.cpp | 57 if (block->blockStorage() == EbsStd140) in visitDeclaration()
|
D | Symbol.cpp | 165 mBlockStorage(layoutQualifier.blockStorage), in TInterfaceBlock() 179 mBlockStorage(layoutQualifier.blockStorage), in TInterfaceBlock()
|
D | BaseTypes.h | 1294 blockStorage == EbsUnspecified && !localSize.isAnyValueSet() && in isEmpty() 1311 blockStorage != EbsUnspecified || imageInternalFormat != EiifUnspecified); in isCombinationValid() 1331 TLayoutBlockStorage blockStorage; member 1375 blockStorage(EbsUnspecified), in TLayoutQualifier()
|
D | QualifierTypes.cpp | 730 if (rightQualifier.blockStorage != EbsUnspecified) in JoinLayoutQualifiers() 732 joinedQualifier.blockStorage = rightQualifier.blockStorage; in JoinLayoutQualifiers()
|
D | ResourcesHLSL.h | 88 TLayoutBlockStorage blockStorage);
|
D | ParseContext.cpp | 1021 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 …]
|
D | ShaderStorageBlockOutputHLSL.cpp | 81 *storage = interfaceBlock->blockStorage(); in GetBlockLayoutInfo() 288 BlockInfoVisitor visitor("", interfaceBlock->blockStorage(), shaderVarToFieldMap, blockInfoOut); in GetShaderStorageBlockMembersInfo()
|
D | CollectVariables.cpp | 23 BlockLayoutType GetBlockLayoutType(TLayoutBlockStorage blockStorage) in GetBlockLayoutType() argument 25 switch (blockStorage) in GetBlockLayoutType() 1041 interfaceBlock->layout = GetBlockLayoutType(blockType->blockStorage()); in recordInterfaceBlock()
|
D | Symbol.h | 233 TLayoutBlockStorage blockStorage() const { return mBlockStorage; } in blockStorage() function
|
D | ParseContext.h | 154 const TLayoutBlockStorage &blockStorage,
|
D | OutputGLSLBase.cpp | 1157 switch (interfaceBlock->blockStorage()) in declareInterfaceBlockLayout()
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
D | RecordUniformBlocksWithLargeArrayMember.cpp | 110 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/ |
D | QualificationOrderESSL31_test.cpp | 130 EXPECT_EQ(EbsStd140, layoutQualifier.blockStorage); in TEST_F() 158 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() 3560 ASSERT(listBlock->blockStorage() == varBlock->blockStorage()); in lookup() 3744 … block->blockStorage(), isRowMajor, registerIndex, blockId)); in declareUniform()
|
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | Layout.cpp | 107 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()
|
D | RewriteKeywords.cpp | 107 layoutQualifier.blockStorage = interfaceBlock.blockStorage(); in createRenamed()
|
D | ModifyStruct.cpp | 325 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/ |
D | StandAlone.cpp | 422 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()
|