Home
last modified time | relevance | path

Searched refs:getLayoutQualifier (Results 1 – 25 of 29) sorted by relevance

12

/external/angle/src/compiler/translator/tree_ops/
DEmulateMultiDrawShaderBuiltins.cpp146 uniform.binding = type->getLayoutQualifier().binding; in EmulateGLDrawID()
147 uniform.location = type->getLayoutQualifier().location; in EmulateGLDrawID()
148 uniform.offset = type->getLayoutQualifier().offset; in EmulateGLDrawID()
206 uniformBaseVertex.binding = type.getLayoutQualifier().binding; in EmulateGLBaseVertexBaseInstance()
207 uniformBaseVertex.location = type.getLayoutQualifier().location; in EmulateGLBaseVertexBaseInstance()
208 uniformBaseVertex.offset = type.getLayoutQualifier().offset; in EmulateGLBaseVertexBaseInstance()
242 uniformBaseInstance.binding = type.getLayoutQualifier().binding; in EmulateGLBaseVertexBaseInstance()
243 uniformBaseInstance.location = type.getLayoutQualifier().location; in EmulateGLBaseVertexBaseInstance()
244 uniformBaseInstance.offset = type.getLayoutQualifier().offset; in EmulateGLBaseVertexBaseInstance()
DRewriteAtomicCounters.cpp136 const int binding = atomicCounterType.getLayoutQualifier().binding; in CreateAtomicCounterRef()
137 int offset = atomicCounterType.getLayoutQualifier().offset / 4; in CreateAtomicCounterRef()
DRewriteRowMajorMatrices.cpp38 TLayoutMatrixPacking matrixPacking = field->type()->getLayoutQualifier().matrixPacking; in DoesFieldContainRowMajorMatrix()
60 TLayoutQualifier layoutQualifier = type->getLayoutQualifier(); in SetColumnMajor()
467 bool isBlockRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in visitDeclaration()
569 bool isBlockRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in convertInterfaceBlock()
595 TLayoutQualifier blockLayoutQualifier = type.getLayoutQualifier(); in convertInterfaceBlock()
/external/angle/src/compiler/translator/
DValidateOutputs.cpp72 if (symbol->getType().getLayoutQualifier().location != -1) in visitSymbol()
76 else if (symbol->getType().getLayoutQualifier().yuv == true) in visitSymbol()
103 const size_t location = static_cast<size_t>(type.getLayoutQualifier().location); in validate()
105 ASSERT(type.getLayoutQualifier().location != -1); in validate()
110 if (type.getLayoutQualifier().index == 1) in validate()
DCollectVariables.cpp899 attribute.location = type.getLayoutQualifier().location; in recordAttribute()
911 outputVariable.location = type.getLayoutQualifier().location; in recordOutputVariable()
912 outputVariable.index = type.getLayoutQualifier().index; in recordOutputVariable()
913 outputVariable.yuv = type.getLayoutQualifier().yuv; in recordOutputVariable()
923 varying.location = type.getLayoutQualifier().location; in recordVarying()
955 int location = type.getLayoutQualifier().location; in recordVarying()
976 int fieldLocation = fieldType.getLayoutQualifier().location; in recordVarying()
1069 (fieldType.getLayoutQualifier().matrixPacking == EmpRowMajor); in recordInterfaceBlock()
1082 uniform.binding = variable.getType().getLayoutQualifier().binding; in recordUniform()
1084 GetImageInternalFormatType(variable.getType().getLayoutQualifier().imageInternalFormat); in recordUniform()
[all …]
DValidateVaryingLocations.cpp191 const int location = varyingType.getLayoutQualifier().location; in ValidateShaderInterfaceAndAssignLocations()
229 const int fieldLocation = field->type()->getLayoutQualifier().location; in ValidateShaderInterfaceAndAssignLocations()
313 if (symbol->getType().getLayoutQualifier().location != -1) in visitDeclaration()
DResourcesHLSL.cpp45 const TLayoutMatrixPacking matrixPacking = fieldType.getLayoutQualifier().matrixPacking; in InterfaceBlockFieldTypeString()
532 type.getBasicType(), type.getLayoutQualifier().imageInternalFormat); in uniformsHeader()
538 type.getBasicType(), type.getLayoutQualifier().imageInternalFormat); in uniformsHeader()
544 TLayoutQualifier layout = type.getLayoutQualifier(); in uniformsHeader()
938 (fieldType.getLayoutQualifier().matrixPacking == EmpColumnMajor); in uniformBlockMembersString()
DOutputVulkanGLSL.cpp68 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier()
DOutputGLSLBase.cpp175 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in getCommonLayoutQualifiers()
263 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier()
304 switch (field->type()->getLayoutQualifier().matrixPacking) in writeFieldLayoutQualifier()
1358 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in NeedsToWriteLayoutQualifier()
DBuildSPIRV.cpp75 const TLayoutMatrixPacking fieldMatrixPacking = fieldType.getLayoutQualifier().matrixPacking; in IsBlockFieldRowMajorQualified()
98 TLayoutBlockStorage blockStorage = type.getLayoutQualifier().blockStorage; in GetBlockStorage()
135 fieldType.getLayoutQualifier().matrixPacking; in ToShaderVariable()
283 isRowMajorQualifiedBlock = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in inferDefaults()
400 spirvType.imageInternalFormat = type.getLayoutQualifier().imageInternalFormat; in getSpirvType()
1536 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeInterfaceVariableDecorations()
DParseContext.cpp1251 ASSERT(type->getLayoutQualifier().index == -1 || in declareVariable()
1256 if (type->getLayoutQualifier().index != -1 && type->getLayoutQualifier().location == -1) in declareVariable()
1267 checkIndexIsNotSpecified(line, type->getLayoutQualifier().index); in declareVariable()
1274 checkNoncoherentIsNotSpecified(line, type->getLayoutQualifier().noncoherent); in declareVariable()
1279 checkNoncoherentIsSpecified(line, type->getLayoutQualifier().noncoherent); in declareVariable()
1607 checkIndexIsNotSpecified(location, type.getLayoutQualifier().index); in emptyDeclarationErrorCheck()
1774 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in checkBindingIsValid()
2186 checkNoncoherentIsSpecified(location, variable->getType().getLayoutQualifier().noncoherent); in getNamedVariable()
2698 TLayoutQualifier layoutQualifier = type->getLayoutQualifier(); in checkAtomicCounterOffsetDoesNotOverlap()
2720 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in checkAtomicCounterOffsetAlignment()
[all …]
DShaderStorageBlockOutputHLSL.cpp63 *rowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in GetBlockLayoutInfo()
86 *rowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in GetBlockLayoutInfo()
DTypes.h174 TLayoutQualifier getLayoutQualifier() const { return layoutQualifier; } in getLayoutQualifier() function
/external/angle/src/tests/compiler_tests/
DQualificationOrderESSL31_test.cpp103 EXPECT_EQ(2, type.getLayoutQualifier().location); in TEST_F()
129 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in TEST_F()
157 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in TEST_F()
DShaderImage_test.cpp105 TLayoutQualifier myImageLayoutQualifier = myImageType.getLayoutQualifier(); in CheckImageDeclaration()
113 ASSERT_EQ(binding, myImageType.getLayoutQualifier().binding); in CheckImageDeclaration()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DLayout.cpp107 const TLayoutBlockStorage storage = type.getLayoutQualifier().blockStorage; in MetalLayoutOf()
183 const TLayoutBlockStorage newStorage = type.getLayoutQualifier().blockStorage; in Overlay()
196 const TLayoutMatrixPacking newPacking = type.getLayoutQualifier().matrixPacking; in Overlay()
234 return CanBePacked(type.getLayoutQualifier()); in CanBePacked()
239 auto qual = type.getLayoutQualifier(); in SetBlockStorage()
DModifyStruct.cpp238 if (ot.isArray() && (ot.getLayoutQualifier().matrixPacking == EmpRowMajor || ot != mt)) in publish()
324 TLayoutQualifier layoutQualifier = newType.getLayoutQualifier(); in addModifiedField()
447 TLayoutBlockStorage storage = type.getLayoutQualifier().blockStorage; in introducePacking()
488 const TLayoutBlockStorage packedStorage = currType.getLayoutQualifier().blockStorage; in introducePacking()
774 const bool isRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in SaturateMatrixRows()
DRewriteKeywords.cpp140 type.getLayoutQualifier()); in createRenamed()
155 renamed->setLayoutQualifier(type.getLayoutQualifier()); in createRenamed()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteR32fImages.cpp26 type.getLayoutQualifier().imageInternalFormat == EiifR32F; in IsR32fImage()
285 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in visitDeclaration()
DEmulateFragColorData.cpp83 TLayoutQualifier layoutQualifier = outputType->getLayoutQualifier(); in visitSymbol()
DReplaceForShaderFramebufferFetch.cpp122 unsigned int inputAttachmentIdx = symbol->getType().getLayoutQualifier().location; in visitDeclaration()
481 TLayoutQualifier inputAttachmentQualifier = inputAttachmentType->getLayoutQualifier(); in declareSubpassInputVariableImpl()
511 inputAttachmentVar->getType().getLayoutQualifier().inputAttachmentIndex; in addInputAttachmentUniform()
DMonomorphizeUnsupportedFunctionsInVulkanGLSL.cpp335 type.isImage() && type.getLayoutQualifier().imageInternalFormat == EiifR32F; in processFunctionCall()
/external/angle/src/compiler/translator/tree_util/
DReplaceArrayOfMatrixVarying.cpp106 varyingReplaceType->setLayoutQualifier(type.getLayoutQualifier()); in ReplaceArrayOfMatrixVarying()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRecordUniformBlocksWithLargeArrayMember.cpp75 const TLayoutMatrixPacking matrixPacking = type.getLayoutQualifier().matrixPacking; in IsSupportedTypeForStructuredBuffer()
/external/swiftshader/src/OpenGL/compiler/
DTypes.h284 TLayoutQualifier getLayoutQualifier() const { return layoutQualifier; } in getLayoutQualifier() function

12