/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | Layout.cpp | 196 const TLayoutMatrixPacking newPacking = type.getLayoutQualifier().matrixPacking; in Overlay() 247 const TLayoutMatrixPacking matrixPacking, in CommonGlslStructLayoutOf() argument 257 layout += GlslLayoutOf(*(*iter)->type(), storage, matrixPacking, false); in CommonGlslStructLayoutOf() 269 const TLayoutMatrixPacking matrixPacking, in CommonGlslLayoutOf() argument 280 auto layout = GlslLayoutOf(type, storage, matrixPacking, true); in CommonGlslLayoutOf() 292 matrixPacking, maskArray, baseAlignment); in CommonGlslLayoutOf() 325 switch (matrixPacking) in CommonGlslLayoutOf() 353 TLayoutMatrixPacking matrixPacking, in GlslLayoutOf() argument 360 matrixPacking = Overlay(matrixPacking, type); in GlslLayoutOf() 365 return CommonGlslLayoutOf(type, storage, matrixPacking, maskArray, 1); in GlslLayoutOf() [all …]
|
D | Layout.h | 77 TLayoutMatrixPacking matrixPacking = TLayoutMatrixPacking::EmpUnspecified, 84 TLayoutMatrixPacking matrixPacking,
|
D | ModifyStruct.cpp | 238 if (ot.isArray() && (ot.getLayoutQualifier().matrixPacking == EmpRowMajor || ot != mt)) in publish() 326 layoutQualifier.matrixPacking = packing; in addModifiedField() 774 const bool isRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in SaturateMatrixRows()
|
/external/angle/src/compiler/translator/ |
D | OutputVulkanGLSL.cpp | 73 const char *matrixPacking = nullptr; in writeLayoutQualifier() local 98 if (layoutQualifier.matrixPacking != EmpUnspecified) in writeLayoutQualifier() 100 matrixPacking = getMatrixPackingString(layoutQualifier.matrixPacking); in writeLayoutQualifier() 154 if (matrixPacking) in writeLayoutQualifier() 156 out << separator << matrixPacking; in writeLayoutQualifier()
|
D | ResourcesHLSL.cpp | 45 const TLayoutMatrixPacking matrixPacking = fieldType.getLayoutQualifier().matrixPacking; in InterfaceBlockFieldTypeString() local 46 ASSERT(matrixPacking != EmpUnspecified); in InterfaceBlockFieldTypeString() 53 (matrixPacking == EmpRowMajor ? "column_major" : "row_major"); in InterfaceBlockFieldTypeString() 62 return QualifiedStructNameString(*structure, matrixPacking == EmpColumnMajor, in InterfaceBlockFieldTypeString() 938 (fieldType.getLayoutQualifier().matrixPacking == EmpColumnMajor); in uniformBlockMembersString()
|
D | BaseTypes.h | 1293 earlyFragmentTests == false && matrixPacking == EmpUnspecified && in isEmpty() 1310 (location != -1 || binding != -1 || index != -1 || matrixPacking != EmpUnspecified || in isCombinationValid() 1330 TLayoutMatrixPacking matrixPacking; member 1374 matrixPacking(EmpUnspecified), in TLayoutQualifier()
|
D | QualifierTypes.cpp | 726 if (rightQualifier.matrixPacking != EmpUnspecified) in JoinLayoutQualifiers() 728 joinedQualifier.matrixPacking = rightQualifier.matrixPacking; in JoinLayoutQualifiers()
|
D | ShaderStorageBlockOutputHLSL.cpp | 63 *rowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in GetBlockLayoutInfo() 86 *rowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in GetBlockLayoutInfo()
|
D | ParseContext.cpp | 1517 if (layoutQualifier.matrixPacking != EmpUnspecified) in declarationQualifierErrorCheck() 1520 getMatrixPackingString(layoutQualifier.matrixPacking)); in declarationQualifierErrorCheck() 3744 if (layoutQualifier.matrixPacking != EmpUnspecified) in parseGlobalLayoutQualifier() 3748 mDefaultUniformMatrixPacking = layoutQualifier.matrixPacking; in parseGlobalLayoutQualifier() 3752 mDefaultBufferMatrixPacking = layoutQualifier.matrixPacking; in parseGlobalLayoutQualifier() 4363 if (blockLayoutQualifier.matrixPacking == EmpUnspecified) in addInterfaceBlock() 4367 blockLayoutQualifier.matrixPacking = mDefaultUniformMatrixPacking; in addInterfaceBlock() 4371 blockLayoutQualifier.matrixPacking = mDefaultBufferMatrixPacking; in addInterfaceBlock() 4475 if (fieldLayoutQualifier.matrixPacking == EmpUnspecified) in addInterfaceBlock() 4477 fieldLayoutQualifier.matrixPacking = blockLayoutQualifier.matrixPacking; in addInterfaceBlock() [all …]
|
D | BuildSPIRV.cpp | 75 const TLayoutMatrixPacking fieldMatrixPacking = fieldType.getLayoutQualifier().matrixPacking; in IsBlockFieldRowMajorQualified() 135 fieldType.getLayoutQualifier().matrixPacking; in ToShaderVariable() 283 isRowMajorQualifiedBlock = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in inferDefaults()
|
D | OutputGLSLBase.cpp | 304 switch (field->type()->getLayoutQualifier().matrixPacking) in writeFieldLayoutQualifier()
|
D | CollectVariables.cpp | 1069 (fieldType.getLayoutQualifier().matrixPacking == EmpRowMajor); in recordInterfaceBlock()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | Types.h | 140 void setMatrixPackingIfUnspecified(TLayoutMatrixPacking matrixPacking); 195 mMatrixPacking(layoutQualifier.matrixPacking) in POOL_ALLOCATOR_NEW_DELETE() 219 TLayoutMatrixPacking matrixPacking() const in matrixPacking() function 287 void setMatrixPackingIfUnspecified(TLayoutMatrixPacking matrixPacking) in setMatrixPackingIfUnspecified() argument 292 structure->setMatrixPackingIfUnspecified((layoutQualifier.matrixPacking == EmpUnspecified) ? in setMatrixPackingIfUnspecified() 293 matrixPacking : layoutQualifier.matrixPacking); in setMatrixPackingIfUnspecified() 296 if(layoutQualifier.matrixPacking == EmpUnspecified) in setMatrixPackingIfUnspecified() 298 layoutQualifier.matrixPacking = matrixPacking; in setMatrixPackingIfUnspecified()
|
D | BaseTypes.h | 413 layoutQualifier.matrixPacking = EmpUnspecified; in create() 421 return location == -1 && matrixPacking == EmpUnspecified && blockStorage == EbsUnspecified; in isEmpty() 425 TLayoutMatrixPacking matrixPacking; member
|
D | SymbolTable.cpp | 141 void TStructure::setMatrixPackingIfUnspecified(TLayoutMatrixPacking matrixPacking) in setMatrixPackingIfUnspecified() argument 145 field->type()->setMatrixPackingIfUnspecified(matrixPacking); in setMatrixPackingIfUnspecified()
|
D | ParseHelper.cpp | 730 if(layoutQualifier.matrixPacking != EmpUnspecified) in singleDeclarationErrorCheck() 732 …rror(identifierLocation, "layout qualifier", getMatrixPackingString(layoutQualifier.matrixPacking), in singleDeclarationErrorCheck() 1817 if(layoutQualifier.matrixPacking != EmpUnspecified) in parseGlobalLayoutQualifier() 1819 mDefaultMatrixPacking = layoutQualifier.matrixPacking; in parseGlobalLayoutQualifier() 2352 if(blockLayoutQualifier.matrixPacking == EmpUnspecified) in addInterfaceBlock() 2354 blockLayoutQualifier.matrixPacking = mDefaultMatrixPacking; in addInterfaceBlock() 2401 if(fieldLayoutQualifier.matrixPacking == EmpUnspecified) in addInterfaceBlock() 2403 fieldLayoutQualifier.matrixPacking = blockLayoutQualifier.matrixPacking; in addInterfaceBlock() 2407 …neous layout qualifier:", getMatrixPackingString(fieldLayoutQualifier.matrixPacking), "only has an… in addInterfaceBlock() 2413 fieldType->setMatrixPackingIfUnspecified(fieldLayoutQualifier.matrixPacking); in addInterfaceBlock() [all …]
|
D | OutputASM.cpp | 300 bool isRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in encodeType() 2416 else if((memberType.getLayoutQualifier().matrixPacking == EmpRowMajor) && memberType.isMatrix()) in source() 3561 ASSERT(listBlock->matrixPacking() == varBlock->matrixPacking()); in lookup() 3742 bool isRowMajor = block->matrixPacking() == EmpRowMajor; in declareUniform()
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
D | RecordUniformBlocksWithLargeArrayMember.cpp | 75 const TLayoutMatrixPacking matrixPacking = type.getLayoutQualifier().matrixPacking; in IsSupportedTypeForStructuredBuffer() local 86 ((matrixPacking != EmpRowMajor && fieldType.getRows() == 4) || in IsSupportedTypeForStructuredBuffer() 87 (matrixPacking == EmpRowMajor && fieldType.getCols() == 4))))) in IsSupportedTypeForStructuredBuffer() 98 return (matrixPacking != EmpRowMajor && type.getRows() == 4) || in IsSupportedTypeForStructuredBuffer() 99 (matrixPacking == EmpRowMajor && type.getCols() == 4); in IsSupportedTypeForStructuredBuffer()
|
/external/angle/src/tests/compiler_tests/ |
D | QualificationOrderESSL31_test.cpp | 131 EXPECT_EQ(EmpColumnMajor, layoutQualifier.matrixPacking); in TEST_F() 159 EXPECT_EQ(EmpRowMajor, layoutQualifier.matrixPacking); in TEST_F()
|
/external/angle/src/compiler/translator/tree_ops/ |
D | RewriteRowMajorMatrices.cpp | 38 TLayoutMatrixPacking matrixPacking = field->type()->getLayoutQualifier().matrixPacking; in DoesFieldContainRowMajorMatrix() local 42 if (matrixPacking == EmpColumnMajor || (matrixPacking == EmpUnspecified && !isBlockRowMajor)) in DoesFieldContainRowMajorMatrix() 61 layoutQualifier.matrixPacking = EmpColumnMajor; in SetColumnMajor() 467 bool isBlockRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in visitDeclaration() 569 bool isBlockRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in convertInterfaceBlock() 596 blockLayoutQualifier.matrixPacking = EmpColumnMajor; in convertInterfaceBlock()
|