Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DEmulateMultiDrawShaderBuiltins.cpp126 uniform.binding = type->getLayoutQualifier().binding; in EmulateGLDrawID()
127 uniform.location = type->getLayoutQualifier().location; in EmulateGLDrawID()
128 uniform.offset = type->getLayoutQualifier().offset; in EmulateGLDrawID()
163 uniform.binding = type->getLayoutQualifier().binding; in EmulateGLBaseVertex()
164 uniform.location = type->getLayoutQualifier().location; in EmulateGLBaseVertex()
165 uniform.offset = type->getLayoutQualifier().offset; in EmulateGLBaseVertex()
200 uniform.binding = type->getLayoutQualifier().binding; in EmulateGLBaseInstance()
201 uniform.location = type->getLayoutQualifier().location; in EmulateGLBaseInstance()
202 uniform.offset = type->getLayoutQualifier().offset; in EmulateGLBaseInstance()
/third_party/skia/third_party/externals/angle2/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.cpp138 const int binding = atomicCounterType.getLayoutQualifier().binding; in CreateAtomicCounterRef()
139 int offset = atomicCounterType.getLayoutQualifier().offset / 4; in CreateAtomicCounterRef()
/third_party/skia/third_party/externals/angle2/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.cpp871 attribute.location = type.getLayoutQualifier().location; in recordAttribute()
883 outputVariable.location = type.getLayoutQualifier().location; in recordOutputVariable()
884 outputVariable.index = type.getLayoutQualifier().index; in recordOutputVariable()
885 outputVariable.yuv = type.getLayoutQualifier().yuv; in recordOutputVariable()
895 varying.location = type.getLayoutQualifier().location; in recordVarying()
927 int location = type.getLayoutQualifier().location; in recordVarying()
948 int fieldLocation = fieldType.getLayoutQualifier().location; in recordVarying()
1041 (fieldType.getLayoutQualifier().matrixPacking == EmpRowMajor); in recordInterfaceBlock()
1054 uniform.binding = variable.getType().getLayoutQualifier().binding; in recordUniform()
1056 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()
DOutputGLSLBase.cpp171 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in getCommonLayoutQualifiers()
259 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier()
300 switch (field->type()->getLayoutQualifier().matrixPacking) in writeFieldLayoutQualifier()
1401 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in NeedsToWriteLayoutQualifier()
DOutputVulkanGLSL.cpp54 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier()
/third_party/flutter/skia/third_party/externals/angle2/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.cpp653 attribute.location = type.getLayoutQualifier().location; in recordAttribute()
665 outputVariable.location = type.getLayoutQualifier().location; in recordOutputVariable()
666 outputVariable.index = type.getLayoutQualifier().index; in recordOutputVariable()
676 varying.location = type.getLayoutQualifier().location; in recordVarying()
767 (fieldType.getLayoutQualifier().matrixPacking == EmpRowMajor); in recordInterfaceBlock()
780 uniform.binding = variable.getType().getLayoutQualifier().binding; in recordUniform()
782 GetImageInternalFormatType(variable.getType().getLayoutQualifier().imageInternalFormat); in recordUniform()
783 uniform.location = variable.getType().getLayoutQualifier().location; in recordUniform()
784 uniform.offset = variable.getType().getLayoutQualifier().offset; in recordUniform()
DResourcesHLSL.cpp43 const TLayoutMatrixPacking matrixPacking = fieldType.getLayoutQualifier().matrixPacking; in InterfaceBlockFieldTypeString()
447 type.getBasicType(), type.getLayoutQualifier().imageInternalFormat); in uniformsHeader()
453 type.getBasicType(), type.getLayoutQualifier().imageInternalFormat); in uniformsHeader()
459 TLayoutQualifier layout = type.getLayoutQualifier(); in uniformsHeader()
773 (fieldType.getLayoutQualifier().matrixPacking == EmpColumnMajor); in uniformBlockMembersString()
DValidateVaryingLocations.cpp77 const int location = varying->getType().getLayoutQualifier().location; in ValidateShaderInterface()
137 if (symbol->getType().getLayoutQualifier().location != -1) in visitDeclaration()
DOutputGLSLBase.cpp172 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in getCommonLayoutQualifiers()
265 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier()
1318 switch (field->type()->getLayoutQualifier().matrixPacking) in declareInterfaceBlock()
1407 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in NeedsToWriteLayoutQualifier()
DOutputVulkanGLSL.cpp57 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier()
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DQualificationOrderESSL31_test.cpp104 EXPECT_EQ(2, type.getLayoutQualifier().location); in TEST_F()
130 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in TEST_F()
158 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()
/third_party/skia/third_party/externals/angle2/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()
451 TLayoutBlockStorage storage = type.getLayoutQualifier().blockStorage; in introducePacking()
492 const TLayoutBlockStorage packedStorage = currType.getLayoutQualifier().blockStorage; in introducePacking()
778 const bool isRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in SaturateMatrixRows()
989 if (setType.getLayoutQualifier().locationsSpecified) in InlineArray()
991 TLayoutQualifier qualifier(innermostType.getLayoutQualifier()); in InlineArray()
992 qualifier.location = innermostType.getLayoutQualifier().location + i; in InlineArray()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DRewriteR32fImages.cpp26 type.getLayoutQualifier().imageInternalFormat == EiifR32F; in IsR32fImage()
285 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in visitDeclaration()
DReplaceForShaderFramebufferFetch.cpp102 unsigned int inputAttachmentIdx = symbol->getType().getLayoutQualifier().location; in visitDeclaration()
359 TLayoutQualifier inputAttachmentQualifier = inputAttachmentType->getLayoutQualifier(); in declareSubpassInputVariableImpl()
389 inputAttachmentVar->getType().getLayoutQualifier().inputAttachmentIndex; in addInputAttachmentUniform()
DEmulateFragColorData.cpp76 TLayoutQualifier layoutQualifier = outputType->getLayoutQualifier(); in visitSymbol()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
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()

12