/external/angle/src/compiler/translator/tree_ops/ |
D | EmulateMultiDrawShaderBuiltins.cpp | 146 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()
|
D | RewriteAtomicCounters.cpp | 136 const int binding = atomicCounterType.getLayoutQualifier().binding; in CreateAtomicCounterRef() 137 int offset = atomicCounterType.getLayoutQualifier().offset / 4; in CreateAtomicCounterRef()
|
D | RewriteRowMajorMatrices.cpp | 38 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/ |
D | ValidateOutputs.cpp | 72 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()
|
D | CollectVariables.cpp | 899 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 …]
|
D | ValidateVaryingLocations.cpp | 191 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()
|
D | ResourcesHLSL.cpp | 45 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()
|
D | OutputVulkanGLSL.cpp | 68 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier()
|
D | OutputGLSLBase.cpp | 175 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()
|
D | BuildSPIRV.cpp | 75 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()
|
D | ParseContext.cpp | 1251 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 …]
|
D | ShaderStorageBlockOutputHLSL.cpp | 63 *rowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in GetBlockLayoutInfo() 86 *rowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in GetBlockLayoutInfo()
|
D | Types.h | 174 TLayoutQualifier getLayoutQualifier() const { return layoutQualifier; } in getLayoutQualifier() function
|
/external/angle/src/tests/compiler_tests/ |
D | QualificationOrderESSL31_test.cpp | 103 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()
|
D | ShaderImage_test.cpp | 105 TLayoutQualifier myImageLayoutQualifier = myImageType.getLayoutQualifier(); in CheckImageDeclaration() 113 ASSERT_EQ(binding, myImageType.getLayoutQualifier().binding); in CheckImageDeclaration()
|
/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() 196 const TLayoutMatrixPacking newPacking = type.getLayoutQualifier().matrixPacking; in Overlay() 234 return CanBePacked(type.getLayoutQualifier()); in CanBePacked() 239 auto qual = type.getLayoutQualifier(); in SetBlockStorage()
|
D | ModifyStruct.cpp | 238 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()
|
D | RewriteKeywords.cpp | 140 type.getLayoutQualifier()); in createRenamed() 155 renamed->setLayoutQualifier(type.getLayoutQualifier()); in createRenamed()
|
/external/angle/src/compiler/translator/tree_ops/vulkan/ |
D | RewriteR32fImages.cpp | 26 type.getLayoutQualifier().imageInternalFormat == EiifR32F; in IsR32fImage() 285 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in visitDeclaration()
|
D | EmulateFragColorData.cpp | 83 TLayoutQualifier layoutQualifier = outputType->getLayoutQualifier(); in visitSymbol()
|
D | ReplaceForShaderFramebufferFetch.cpp | 122 unsigned int inputAttachmentIdx = symbol->getType().getLayoutQualifier().location; in visitDeclaration() 481 TLayoutQualifier inputAttachmentQualifier = inputAttachmentType->getLayoutQualifier(); in declareSubpassInputVariableImpl() 511 inputAttachmentVar->getType().getLayoutQualifier().inputAttachmentIndex; in addInputAttachmentUniform()
|
D | MonomorphizeUnsupportedFunctionsInVulkanGLSL.cpp | 335 type.isImage() && type.getLayoutQualifier().imageInternalFormat == EiifR32F; in processFunctionCall()
|
/external/angle/src/compiler/translator/tree_util/ |
D | ReplaceArrayOfMatrixVarying.cpp | 106 varyingReplaceType->setLayoutQualifier(type.getLayoutQualifier()); in ReplaceArrayOfMatrixVarying()
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
D | RecordUniformBlocksWithLargeArrayMember.cpp | 75 const TLayoutMatrixPacking matrixPacking = type.getLayoutQualifier().matrixPacking; in IsSupportedTypeForStructuredBuffer()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | Types.h | 284 TLayoutQualifier getLayoutQualifier() const { return layoutQualifier; } in getLayoutQualifier() function
|