Home
last modified time | relevance | path

Searched refs:matrixPacking (Results 1 – 20 of 20) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DLayout.cpp196 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 …]
DLayout.h77 TLayoutMatrixPacking matrixPacking = TLayoutMatrixPacking::EmpUnspecified,
84 TLayoutMatrixPacking matrixPacking,
DModifyStruct.cpp238 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/
DOutputVulkanGLSL.cpp73 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()
DResourcesHLSL.cpp45 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()
DBaseTypes.h1293 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()
DQualifierTypes.cpp726 if (rightQualifier.matrixPacking != EmpUnspecified) in JoinLayoutQualifiers()
728 joinedQualifier.matrixPacking = rightQualifier.matrixPacking; in JoinLayoutQualifiers()
DShaderStorageBlockOutputHLSL.cpp63 *rowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in GetBlockLayoutInfo()
86 *rowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in GetBlockLayoutInfo()
DParseContext.cpp1517 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 …]
DBuildSPIRV.cpp75 const TLayoutMatrixPacking fieldMatrixPacking = fieldType.getLayoutQualifier().matrixPacking; in IsBlockFieldRowMajorQualified()
135 fieldType.getLayoutQualifier().matrixPacking; in ToShaderVariable()
283 isRowMajorQualifiedBlock = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in inferDefaults()
DOutputGLSLBase.cpp304 switch (field->type()->getLayoutQualifier().matrixPacking) in writeFieldLayoutQualifier()
DCollectVariables.cpp1069 (fieldType.getLayoutQualifier().matrixPacking == EmpRowMajor); in recordInterfaceBlock()
/external/swiftshader/src/OpenGL/compiler/
DTypes.h140 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()
DBaseTypes.h413 layoutQualifier.matrixPacking = EmpUnspecified; in create()
421 return location == -1 && matrixPacking == EmpUnspecified && blockStorage == EbsUnspecified; in isEmpty()
425 TLayoutMatrixPacking matrixPacking; member
DSymbolTable.cpp141 void TStructure::setMatrixPackingIfUnspecified(TLayoutMatrixPacking matrixPacking) in setMatrixPackingIfUnspecified() argument
145 field->type()->setMatrixPackingIfUnspecified(matrixPacking); in setMatrixPackingIfUnspecified()
DParseHelper.cpp730 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 …]
DOutputASM.cpp300 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/
DRecordUniformBlocksWithLargeArrayMember.cpp75 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/
DQualificationOrderESSL31_test.cpp131 EXPECT_EQ(EmpColumnMajor, layoutQualifier.matrixPacking); in TEST_F()
159 EXPECT_EQ(EmpRowMajor, layoutQualifier.matrixPacking); in TEST_F()
/external/angle/src/compiler/translator/tree_ops/
DRewriteRowMajorMatrices.cpp38 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()