Home
last modified time | relevance | path

Searched refs:layoutQualifier (Results 1 – 25 of 59) sorted by relevance

123

/third_party/flutter/skia/src/gpu/
DGrShaderVar.h104 const char* layoutQualifier = nullptr,
112 fLayoutQualifier = layoutQualifier;
125 const char* layoutQualifier = nullptr,
133 fLayoutQualifier = layoutQualifier;
147 const char* layoutQualifier = nullptr,
155 fLayoutQualifier = layoutQualifier;
169 const char* layoutQualifier = nullptr,
177 fLayoutQualifier = layoutQualifier;
244 void addLayoutQualifier(const char* layoutQualifier) { in addLayoutQualifier() argument
245 if (!layoutQualifier || !strlen(layoutQualifier)) { in addLayoutQualifier()
[all …]
/third_party/skia/src/gpu/
DGrShaderVar.h63 SkString layoutQualifier, SkString extraModifier) in GrShaderVar() argument
68 , fLayoutQualifier(std::move(layoutQualifier)) in GrShaderVar()
103 void addLayoutQualifier(const char* layoutQualifier) { in addLayoutQualifier() argument
104 if (!layoutQualifier || !strlen(layoutQualifier)) { in addLayoutQualifier()
108 fLayoutQualifier = layoutQualifier; in addLayoutQualifier()
110 fLayoutQualifier.appendf(", %s", layoutQualifier); in addLayoutQualifier()
DGrSPIRVUniformHandler.cpp203 SkString layoutQualifier; in internalAddUniformArray() local
204 layoutQualifier.appendf("offset = %d", offset); in internalAddUniformArray()
211 std::move(layoutQualifier), in internalAddUniformArray()
235 SkString layoutQualifier; in addSampler() local
236 layoutQualifier.appendf("set = %d, binding = %d", kSamplerTextureDescriptorSet, binding); in addSampler()
243 std::move(layoutQualifier), in addSampler()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DTypes.h190 int arraySize, const TLayoutQualifier &layoutQualifier) in POOL_ALLOCATOR_NEW_DELETE()
194 mBlockStorage(layoutQualifier.blockStorage), in POOL_ALLOCATOR_NEW_DELETE()
195 mMatrixPacking(layoutQualifier.matrixPacking) in POOL_ALLOCATOR_NEW_DELETE()
246 …ize(0), maxArraySize(0), arrayInformationType(0), interfaceBlock(0), layoutQualifier(TLayoutQualif… in POOL_ALLOCATOR_NEW_DELETE()
253 …ize(0), maxArraySize(0), arrayInformationType(0), interfaceBlock(0), layoutQualifier(TLayoutQualif… in type()
260 …ize(0), maxArraySize(0), arrayInformationType(0), interfaceBlock(0), layoutQualifier(TLayoutQualif… in type()
269 interfaceBlock(interfaceBlockIn), layoutQualifier(layoutQualifierIn), structure(0), mangled(0) in TType()
284 TLayoutQualifier getLayoutQualifier() const { return layoutQualifier; } in getLayoutQualifier()
285 void setLayoutQualifier(TLayoutQualifier lq) { layoutQualifier = lq; } in setLayoutQualifier()
292 structure->setMatrixPackingIfUnspecified((layoutQualifier.matrixPacking == EmpUnspecified) ? in setMatrixPackingIfUnspecified()
[all …]
DBaseTypes.h410 TLayoutQualifier layoutQualifier; in create() local
412 layoutQualifier.location = -1; in create()
413 layoutQualifier.matrixPacking = EmpUnspecified; in create()
414 layoutQualifier.blockStorage = EbsUnspecified; in create()
416 return layoutQualifier; in create()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DQualificationOrderESSL31_test.cpp130 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in TEST_F() local
131 EXPECT_EQ(EbsStd140, layoutQualifier.blockStorage); in TEST_F()
132 EXPECT_EQ(EmpColumnMajor, layoutQualifier.matrixPacking); in TEST_F()
158 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in TEST_F() local
159 EXPECT_EQ(EbsShared, layoutQualifier.blockStorage); in TEST_F()
160 EXPECT_EQ(EmpRowMajor, layoutQualifier.matrixPacking); in TEST_F()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DQualificationOrderESSL31_test.cpp129 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in TEST_F() local
130 EXPECT_EQ(EbsStd140, layoutQualifier.blockStorage); in TEST_F()
131 EXPECT_EQ(EmpColumnMajor, layoutQualifier.matrixPacking); in TEST_F()
157 TLayoutQualifier layoutQualifier = type.getLayoutQualifier(); in TEST_F() local
158 EXPECT_EQ(EbsShared, layoutQualifier.blockStorage); in TEST_F()
159 EXPECT_EQ(EmpRowMajor, layoutQualifier.matrixPacking); in TEST_F()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.cpp996 if (pType.layoutQualifier.location != -1) in checkDeclaratorLocationIsNotSpecified()
1004 const TLayoutQualifier &layoutQualifier) in checkLocationIsNotSpecified() argument
1006 if (layoutQualifier.location != -1) in checkLocationIsNotSpecified()
1525 const sh::TLayoutQualifier &layoutQualifier, in declarationQualifierErrorCheck() argument
1528 if (qualifier == EvqShared && !layoutQualifier.isEmpty()) in declarationQualifierErrorCheck()
1533 if (layoutQualifier.matrixPacking != EmpUnspecified) in declarationQualifierErrorCheck()
1536 getMatrixPackingString(layoutQualifier.matrixPacking)); in declarationQualifierErrorCheck()
1540 if (layoutQualifier.blockStorage != EbsUnspecified) in declarationQualifierErrorCheck()
1543 getBlockStorageString(layoutQualifier.blockStorage)); in declarationQualifierErrorCheck()
1549 if (layoutQualifier.location != -1 && layoutQualifier.yuv == true) in declarationQualifierErrorCheck()
[all …]
DOutputVulkanGLSL.cpp54 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier() local
84 if (layoutQualifier.matrixPacking != EmpUnspecified) in writeLayoutQualifier()
86 matrixPacking = getMatrixPackingString(layoutQualifier.matrixPacking); in writeLayoutQualifier()
95 out << "input_attachment_index=" << layoutQualifier.inputAttachmentIndex; in writeLayoutQualifier()
102 out << separator << "constant_id=" << layoutQualifier.location; in writeLayoutQualifier()
116 if (layoutQualifier.index <= 0) in writeLayoutQualifier()
DOutputGLSLBase.cpp171 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in getCommonLayoutQualifiers() local
176 if (type.getQualifier() == EvqFragmentOut && layoutQualifier.index >= 0) in getCommonLayoutQualifiers()
178 out << listItemPrefix << "index = " << layoutQualifier.index; in getCommonLayoutQualifiers()
184 if (layoutQualifier.yuv == true) in getCommonLayoutQualifiers()
192 if (layoutQualifier.imageInternalFormat != EiifUnspecified) in getCommonLayoutQualifiers()
196 << getImageInternalFormatString(layoutQualifier.imageInternalFormat); in getCommonLayoutQualifiers()
202 out << listItemPrefix << "offset = " << layoutQualifier.offset; in getCommonLayoutQualifiers()
259 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier() local
267 if (layoutQualifier.location >= 0) in writeLayoutQualifier()
269 out << listItemPrefix << "location = " << layoutQualifier.location; in writeLayoutQualifier()
[all …]
DSymbol.cpp160 const TLayoutQualifier &layoutQualifier, in TInterfaceBlock() argument
165 mBlockStorage(layoutQualifier.blockStorage), in TInterfaceBlock()
166 mBinding(layoutQualifier.binding) in TInterfaceBlock()
174 const TLayoutQualifier &layoutQualifier, in TInterfaceBlock() argument
179 mBlockStorage(layoutQualifier.blockStorage), in TInterfaceBlock()
180 mBinding(layoutQualifier.binding) in TInterfaceBlock()
DTypes.h123 layoutQualifier(TLayoutQualifier::Create()), in TType()
142 layoutQualifier(t.layoutQualifier), in TType()
174 TLayoutQualifier getLayoutQualifier() const { return layoutQualifier; } in getLayoutQualifier()
175 void setLayoutQualifier(TLayoutQualifier lq) { layoutQualifier = lq; } in setLayoutQualifier()
380 TLayoutQualifier layoutQualifier; variable
496 TLayoutQualifier layoutQualifier; member
DTypes.cpp181 layoutQualifier(p.layoutQualifier), in TType()
216 layoutQualifier = layoutQualifierIn; in TType()
233 layoutQualifier = t.layoutQualifier; in operator =()
917 layoutQualifier = TLayoutQualifier::Create(); in initialize()
931 layoutQualifier = TLayoutQualifier::Create(); in initializeBasicType()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.cpp934 if (pType.layoutQualifier.location != -1) in checkDeclaratorLocationIsNotSpecified()
942 const TLayoutQualifier &layoutQualifier) in checkLocationIsNotSpecified() argument
944 if (layoutQualifier.location != -1) in checkLocationIsNotSpecified()
1320 const sh::TLayoutQualifier &layoutQualifier, in declarationQualifierErrorCheck() argument
1323 if (qualifier == EvqShared && !layoutQualifier.isEmpty()) in declarationQualifierErrorCheck()
1328 if (layoutQualifier.matrixPacking != EmpUnspecified) in declarationQualifierErrorCheck()
1331 getMatrixPackingString(layoutQualifier.matrixPacking)); in declarationQualifierErrorCheck()
1335 if (layoutQualifier.blockStorage != EbsUnspecified) in declarationQualifierErrorCheck()
1338 getBlockStorageString(layoutQualifier.blockStorage)); in declarationQualifierErrorCheck()
1344 if (layoutQualifier.location != -1 && layoutQualifier.yuv == true) in declarationQualifierErrorCheck()
[all …]
DTypes.cpp130 layoutQualifier(TLayoutQualifier::Create()), in TType()
146 layoutQualifier(TLayoutQualifier::Create()), in TType()
162 layoutQualifier(TLayoutQualifier::Create()), in TType()
178 layoutQualifier(p.layoutQualifier), in TType()
206 layoutQualifier(TLayoutQualifier::Create()), in TType()
224 layoutQualifier(layoutQualifierIn), in TType()
240 layoutQualifier(t.layoutQualifier), in TType()
257 layoutQualifier = t.layoutQualifier; in operator =()
912 layoutQualifier = TLayoutQualifier::Create(); in initialize()
925 layoutQualifier = TLayoutQualifier::Create(); in initializeBasicType()
DOutputGLSLBase.cpp172 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in getCommonLayoutQualifiers() local
177 if (type.getQualifier() == EvqFragmentOut && layoutQualifier.index >= 0) in getCommonLayoutQualifiers()
179 out << listItemPrefix << "index = " << layoutQualifier.index; in getCommonLayoutQualifiers()
185 if (layoutQualifier.yuv == true) in getCommonLayoutQualifiers()
193 if (layoutQualifier.imageInternalFormat != EiifUnspecified) in getCommonLayoutQualifiers()
197 << getImageInternalFormatString(layoutQualifier.imageInternalFormat); in getCommonLayoutQualifiers()
203 out << listItemPrefix << "offset = " << layoutQualifier.offset; in getCommonLayoutQualifiers()
265 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier() local
273 if (layoutQualifier.location >= 0) in writeLayoutQualifier()
275 out << listItemPrefix << "location = " << layoutQualifier.location; in writeLayoutQualifier()
[all …]
DTypes.h121 layoutQualifier(TLayoutQualifier::Create()), in TType()
137 layoutQualifier(t.layoutQualifier), in TType()
163 TLayoutQualifier getLayoutQualifier() const { return layoutQualifier; } in getLayoutQualifier()
164 void setLayoutQualifier(TLayoutQualifier lq) { layoutQualifier = lq; } in setLayoutQualifier()
344 TLayoutQualifier layoutQualifier; variable
451 TLayoutQualifier layoutQualifier; member
DOutputVulkanGLSL.cpp57 const TLayoutQualifier &layoutQualifier = type.getLayoutQualifier(); in writeLayoutQualifier() local
94 if (layoutQualifier.matrixPacking != EmpUnspecified) in writeLayoutQualifier()
96 matrixPacking = getMatrixPackingString(layoutQualifier.matrixPacking); in writeLayoutQualifier()
DQualifierTypes.h83 TLayoutQualifierWrapper(TLayoutQualifier layoutQualifier, const TSourceLoc &line) in TLayoutQualifierWrapper() argument
84 : TQualifierWrapperBase(line), mLayoutQualifier(layoutQualifier) in TLayoutQualifierWrapper()
163 TLayoutQualifier layoutQualifier; member
/third_party/flutter/skia/src/gpu/vk/
DGrVkUniformHandler.cpp246 SkString layoutQualifier; in internalAddUniformArray() local
247 layoutQualifier.appendf("offset=%d", uni.fUBOffset); in internalAddUniformArray()
248 uni.fVariable.addLayoutQualifier(layoutQualifier.c_str()); in internalAddUniformArray()
273 SkString layoutQualifier; in addSampler() local
274 layoutQualifier.appendf("set=%d, binding=%d", kSamplerDescSet, fSamplers.count() - 1); in addSampler()
275 info.fVariable.addLayoutQualifier(layoutQualifier.c_str()); in addSampler()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnUniformHandler.cpp227 SkString layoutQualifier; in internalAddUniformArray() local
228 layoutQualifier.appendf("offset = %d", info.fUBOOffset); in internalAddUniformArray()
229 var.addLayoutQualifier(layoutQualifier.c_str()); in internalAddUniformArray()
251 SkString layoutQualifier; in addSampler() local
252 layoutQualifier.appendf("set = 0, binding = %d", binding); in addSampler()
253 info.fVar.addLayoutQualifier(layoutQualifier.c_str()); in addSampler()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DDriverUniform.cpp70 TLayoutQualifier layoutQualifier = TLayoutQualifier::Create(); in addComputeDriverUniformsToShader() local
71 layoutQualifier.blockStorage = EbsStd140; in addComputeDriverUniformsToShader()
74 layoutQualifier, TMemoryQualifier::Create(), 0, in addComputeDriverUniformsToShader()
168 TLayoutQualifier layoutQualifier = TLayoutQualifier::Create(); in addGraphicsDriverUniformsToShader() local
169 layoutQualifier.blockStorage = EbsStd140; in addGraphicsDriverUniformsToShader()
172 layoutQualifier, TMemoryQualifier::Create(), 0, in addGraphicsDriverUniformsToShader()
/third_party/skia/src/gpu/vk/
DGrVkUniformHandler.cpp256 SkString layoutQualifier; in addSampler() local
257 layoutQualifier.appendf("set=%d, binding=%d", kSamplerDescSet, fSamplers.count()); in addSampler()
265 std::move(layoutQualifier), in addSampler()
301 SkString layoutQualifier; in addInputSampler() local
302 layoutQualifier.appendf("input_attachment_index=%d, set=%d, binding=%d", in addInputSampler()
307 GrShaderVar::kNonArray, std::move(layoutQualifier), SkString()}, in addInputSampler()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DEmulateFragColorData.cpp76 TLayoutQualifier layoutQualifier = outputType->getLayoutQualifier(); in visitSymbol() local
77 layoutQualifier.index = index; in visitSymbol()
78 outputType->setLayoutQualifier(layoutQualifier); in visitSymbol()
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm204 SkString layoutQualifier;
205 layoutQualifier.appendf("offset=%d", offset);
214 std::move(layoutQualifier),
243 SkString layoutQualifier;
244 layoutQualifier.appendf("binding=%d", binding);
251 std::move(layoutQualifier),

123