Home
last modified time | relevance | path

Searched refs:arrayLayerCount (Results 1 – 25 of 63) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DTextureViewValidationTests.cpp29 uint32_t arrayLayerCount, in Create2DArrayTexture() argument
39 descriptor.arrayLayerCount = arrayLayerCount; in Create2DArrayTexture()
54 descriptor.arrayLayerCount = 1; in CreateDefaultViewDescriptor()
68 descriptor.arrayLayerCount = 1; in TEST_F()
76 descriptor.arrayLayerCount = 2; in TEST_F()
84 descriptor.arrayLayerCount = 1; in TEST_F()
117 descriptor.arrayLayerCount = 1; in TEST_F()
124 descriptor.arrayLayerCount = kDefaultArrayLayers; in TEST_F()
131 descriptor.arrayLayerCount = 0; in TEST_F()
138 descriptor.arrayLayerCount = kDefaultArrayLayers + 1; in TEST_F()
[all …]
DRenderPassDescriptorValidationTests.cpp48 uint32_t arrayLayerCount, in CreateTexture() argument
57 descriptor.arrayLayerCount = arrayLayerCount; in CreateTexture()
215 baseDescriptor.arrayLayerCount = kArrayLayers; in TEST_F()
223 descriptor.arrayLayerCount = 5; in TEST_F()
234 descriptor.arrayLayerCount = 5; in TEST_F()
246 descriptor.arrayLayerCount = 1; in TEST_F()
258 descriptor.arrayLayerCount = 1; in TEST_F()
270 descriptor.arrayLayerCount = 1; in TEST_F()
282 descriptor.arrayLayerCount = 1; in TEST_F()
308 baseDescriptor.arrayLayerCount = kArrayLayers; in TEST_F()
[all …]
DTextureValidationTests.cpp30 descriptor.arrayLayerCount = kDefaultArraySize; in CreateDefaultTextureDescriptor()
92 descriptor.arrayLayerCount = 2; in TEST_F()
357 descriptor.arrayLayerCount = 6;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DTextureViewValidationTests.cpp29 uint32_t arrayLayerCount, in Create2DArrayTexture() argument
38 descriptor.size.depthOrArrayLayers = arrayLayerCount; in Create2DArrayTexture()
74 descriptor.arrayLayerCount = 1; in CreateDefaultViewDescriptor()
88 descriptor.arrayLayerCount = 0; in TEST_F()
102 descriptor.arrayLayerCount = 1; in TEST_F()
109 descriptor.arrayLayerCount = 2; in TEST_F()
117 descriptor.arrayLayerCount = 1; in TEST_F()
125 descriptor.arrayLayerCount = 1; in TEST_F()
176 descriptor.arrayLayerCount = 0; in TEST_F()
192 descriptor.arrayLayerCount = 1; in TEST_F()
[all …]
DRenderPassDescriptorValidationTests.cpp50 uint32_t arrayLayerCount, in CreateTexture() argument
58 descriptor.size.depthOrArrayLayers = arrayLayerCount; in CreateTexture()
227 descriptor.arrayLayerCount = kArrayLayers; in TEST_F()
279 baseDescriptor.arrayLayerCount = kArrayLayers; in TEST_F()
287 descriptor.arrayLayerCount = 5; in TEST_F()
298 descriptor.arrayLayerCount = 5; in TEST_F()
310 descriptor.arrayLayerCount = 1; in TEST_F()
322 descriptor.arrayLayerCount = 1; in TEST_F()
334 descriptor.arrayLayerCount = 1; in TEST_F()
346 descriptor.arrayLayerCount = 1; in TEST_F()
[all …]
DTextureSubresourceTests.cpp27 uint32_t arrayLayerCount, in CreateTexture() argument
31 texDesc.size = {kSize, kSize, arrayLayerCount}; in CreateTexture()
45 viewDesc.arrayLayerCount = 1; in CreateTextureView()
DCopyTextureForBrowserTests.cpp28 uint32_t arrayLayerCount, in Create2DTexture() argument
36 descriptor.size.depthOrArrayLayers = arrayLayerCount; in Create2DTexture()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DSubresourceTrackingPerf.cpp25 arrayLayerCount(arrayLayerCountIn), in SubresourceTrackingParams()
28 uint32_t arrayLayerCount; member
34 ostream << "_arrayLayer_" << param.arrayLayerCount; in operator <<()
58 params.arrayLayerCount}; in SetUp()
91 uint32_t layerUploaded = params.arrayLayerCount / 2; in Step()
117 rtViewDesc.arrayLayerCount = 1; in Step()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DTextureViewTests.cpp33 uint32_t arrayLayerCount, in Create2DTexture() argument
41 descriptor.arrayLayerCount = arrayLayerCount; in Create2DTexture()
112 void initTexture(uint32_t arrayLayerCount, uint32_t mipLevelCount) { in initTexture() argument
113 ASSERT(arrayLayerCount > 0 && mipLevelCount > 0); in initTexture()
120 … device, textureWidthLevel0, textureHeightLevel0, arrayLayerCount, mipLevelCount, kUsage); in initTexture()
127 mDefaultTextureViewDescriptor.arrayLayerCount = arrayLayerCount; in initTexture()
137 for (uint32_t layer = 0; layer < arrayLayerCount; ++layer) { in initTexture()
209 descriptor.arrayLayerCount = 1; in Texture2DViewTest()
248 descriptor.arrayLayerCount = kTextureViewLayerCount; in Texture2DArrayViewTest()
329 descriptor.arrayLayerCount = textureViewLayerCount; in TextureCubeMapTest()
[all …]
DNonzeroTextureCreationTests.cpp36 descriptor.arrayLayerCount = 1; in TEST_P()
56 descriptor.arrayLayerCount = 1; in TEST_P()
81 descriptor.arrayLayerCount = arrayLayers; in TEST_P()
DCompressedTextureFormatTests.cpp28 uint32_t arrayLayerCount = 1, in Create2DTexture() argument
38 descriptor.arrayLayerCount = arrayLayerCount; in Create2DTexture()
52 uint32_t arrayLayerCount = 1; member
134 textureViewDescriptor.arrayLayerCount = 1; in CreateBindGroupForTest()
212 config.arrayLayerCount, config.mipmapLevelCount); in TestCopyRegionIntoBCFormatTextures()
478 config.arrayLayerCount = kArrayLayerCount; in TEST_P()
548 config.arrayLayerCount, config.mipmapLevelCount, in TEST_P()
555 config.arrayLayerCount, config.mipmapLevelCount); in TEST_P()
620 srcConfig.arrayLayerCount, srcConfig.mipmapLevelCount, in TEST_P()
631 dstConfig.arrayLayerCount, dstConfig.mipmapLevelCount); in TEST_P()
DIOSurfaceWrappingTests.cpp119 descriptor.arrayLayerCount = 1; in IOSurfaceValidationTests()
178 descriptor.arrayLayerCount = 2; in TEST_P()
249 textureDescriptor.arrayLayerCount = 1; in DoSampleTest()
342 textureDescriptor.arrayLayerCount = 1; in DoClearTest()
DMultisampledRenderingTests.cpp88 uint32_t arrayLayerCount = 1) { in CreateTextureForOutputAttachment() argument
94 descriptor.arrayLayerCount = arrayLayerCount; in CreateTextureForOutputAttachment()
423 textureViewDescriptor.arrayLayerCount = 1; in TEST_P()
461 baseTextureViewDescriptor.arrayLayerCount = 1; in TEST_P()
DTextureZeroInitTests.cpp26 uint32_t arrayLayerCount, in CreateTextureDescriptor() argument
34 descriptor.arrayLayerCount = arrayLayerCount; in CreateTextureDescriptor()
46 descriptor.arrayLayerCount = 1; in CreateTextureViewDescriptor()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DTexture.cpp103 if (descriptor->arrayLayerCount > 1) { in ValidateSampleCount()
120 descriptor->arrayLayerCount)) { in ValidateTextureViewDimensionCompatibility()
146 descriptor.arrayLayerCount = texture->GetArrayLayers(); in MakeDefaultTextureViewDescriptor()
224 descriptor->size.depth == 0 || descriptor->arrayLayerCount == 0 || in ValidateTextureDescriptor()
259 if (descriptor->arrayLayerCount == 0 || descriptor->mipLevelCount == 0) { in ValidateTextureViewDescriptor()
263 if (uint64_t(descriptor->baseArrayLayer) + uint64_t(descriptor->arrayLayerCount) > in ValidateTextureViewDescriptor()
299 mArrayLayerCount(descriptor->arrayLayerCount), in TextureBase()
305 GetSubresourceIndex(descriptor->mipLevelCount, descriptor->arrayLayerCount); in TextureBase()
481 mArrayLayerCount(descriptor->arrayLayerCount) { in TextureViewBase()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureViewTests.cpp33 uint32_t arrayLayerCount, in Create2DTexture() argument
40 descriptor.size.depthOrArrayLayers = arrayLayerCount; in Create2DTexture()
122 void initTexture(uint32_t arrayLayerCount, uint32_t mipLevelCount) { in initTexture() argument
123 ASSERT(arrayLayerCount > 0 && mipLevelCount > 0); in initTexture()
129 mTexture = Create2DTexture(device, textureWidthLevel0, textureHeightLevel0, arrayLayerCount, in initTexture()
137 mDefaultTextureViewDescriptor.arrayLayerCount = arrayLayerCount; in initTexture()
147 for (uint32_t layer = 0; layer < arrayLayerCount; ++layer) { in initTexture()
216 descriptor.arrayLayerCount = 1; in Texture2DViewTest()
254 descriptor.arrayLayerCount = kTextureViewLayerCount; in Texture2DArrayViewTest()
334 descriptor.arrayLayerCount = textureViewLayerCount; in TextureCubeMapTest()
[all …]
DTextureSubresourceTests.cpp26 uint32_t arrayLayerCount, in CreateTexture() argument
30 texDesc.size = {kSize, kSize, arrayLayerCount}; in CreateTexture()
44 viewDesc.arrayLayerCount = 1; in CreateTextureView()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DTexture.cpp139 descriptor->arrayLayerCount), in ValidateTextureViewDimensionCompatibility()
142 descriptor->dimension, descriptor->arrayLayerCount, texture); in ValidateTextureViewDimensionCompatibility()
353 DAWN_INVALID_IF(descriptor->arrayLayerCount == 0 || descriptor->mipLevelCount == 0, in ValidateTextureViewDescriptor()
355 descriptor->arrayLayerCount, descriptor->mipLevelCount); in ValidateTextureViewDescriptor()
358 uint64_t(descriptor->baseArrayLayer) + uint64_t(descriptor->arrayLayerCount) > in ValidateTextureViewDescriptor()
362 descriptor->baseArrayLayer, descriptor->arrayLayerCount, texture->GetArrayLayers()); in ValidateTextureViewDescriptor()
409 if (desc.arrayLayerCount == wgpu::kArrayLayerCountUndefined) { in GetTextureViewDescriptorWithDefaults()
414 desc.arrayLayerCount = 1; in GetTextureViewDescriptorWithDefaults()
417 desc.arrayLayerCount = 6; in GetTextureViewDescriptorWithDefaults()
421 desc.arrayLayerCount = texture->GetArrayLayers() - desc.baseArrayLayer; in GetTextureViewDescriptorWithDefaults()
[all …]
DSubresourceStorage.h115 uint32_t arrayLayerCount,
223 uint32_t arrayLayerCount, in SubresourceStorage() argument
226 : mAspects(aspects), mMipLevelCount(mipLevelCount), mArrayLayerCount(arrayLayerCount) { in SubresourceStorage()
227 ASSERT(arrayLayerCount <= std::numeric_limits<decltype(mArrayLayerCount)>::max()); in SubresourceStorage()
DCopyTextureForBrowserHelper.cpp343 srcTextureViewDesc.arrayLayerCount = 1; in DoCopyTextureForBrowser()
364 dstTextureViewDesc.arrayLayerCount = 1; in DoCopyTextureForBrowser()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUTexture.cpp43 !conv(desc.arrayLayerCount, descriptor.arrayLayerCount) || // in createView()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DTextureMTL.mm91 if (texture->GetArrayLayers() != textureViewDescriptor->arrayLayerCount) {
273 if (descriptor->arrayLayerCount != 1) {
299 mtlDesc.textureType = MetalTextureType(descriptor->dimension, descriptor->arrayLayerCount,
309 mtlDesc.arrayLength = descriptor->arrayLayerCount;
369 NSMakeRange(descriptor->baseArrayLayer, descriptor->arrayLayerCount);
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp53 uint32_t arrayLayerCount, in TargetForTextureViewDimension() argument
59 if (arrayLayerCount == 1) { in TargetForTextureViewDimension()
96 if (texture->GetArrayLayers() != textureViewDescriptor->arrayLayerCount) { in RequiresCreatingNewTextureView()
535 mTarget = TargetForTextureViewDimension(descriptor->dimension, descriptor->arrayLayerCount, in TextureView()
556 descriptor->baseArrayLayer, descriptor->arrayLayerCount); in TextureView()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp32 if (descriptor->arrayLayerCount > 1) { in TargetForTexture()
111 if (texture->GetArrayLayers() != textureViewDescriptor->arrayLayerCount) { in RequiresCreatingNewTextureView()
289 descriptor->arrayLayerCount); in TextureView()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp551 mSrvDesc.Texture2DArray.ArraySize = descriptor->arrayLayerCount; in TextureView()
561 ASSERT(descriptor->arrayLayerCount % 6 == 0); in TextureView()
564 mSrvDesc.TextureCubeArray.NumCubes = descriptor->arrayLayerCount / 6; in TextureView()

123