/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | TextureViewValidationTests.cpp | 29 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 …]
|
D | RenderPassDescriptorValidationTests.cpp | 48 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 …]
|
D | TextureValidationTests.cpp | 30 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/ |
D | TextureViewValidationTests.cpp | 29 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 …]
|
D | RenderPassDescriptorValidationTests.cpp | 50 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 …]
|
D | TextureSubresourceTests.cpp | 27 uint32_t arrayLayerCount, in CreateTexture() argument 31 texDesc.size = {kSize, kSize, arrayLayerCount}; in CreateTexture() 45 viewDesc.arrayLayerCount = 1; in CreateTextureView()
|
D | CopyTextureForBrowserTests.cpp | 28 uint32_t arrayLayerCount, in Create2DTexture() argument 36 descriptor.size.depthOrArrayLayers = arrayLayerCount; in Create2DTexture()
|
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/ |
D | SubresourceTrackingPerf.cpp | 25 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/ |
D | TextureViewTests.cpp | 33 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 …]
|
D | NonzeroTextureCreationTests.cpp | 36 descriptor.arrayLayerCount = 1; in TEST_P() 56 descriptor.arrayLayerCount = 1; in TEST_P() 81 descriptor.arrayLayerCount = arrayLayers; in TEST_P()
|
D | CompressedTextureFormatTests.cpp | 28 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()
|
D | IOSurfaceWrappingTests.cpp | 119 descriptor.arrayLayerCount = 1; in IOSurfaceValidationTests() 178 descriptor.arrayLayerCount = 2; in TEST_P() 249 textureDescriptor.arrayLayerCount = 1; in DoSampleTest() 342 textureDescriptor.arrayLayerCount = 1; in DoClearTest()
|
D | MultisampledRenderingTests.cpp | 88 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()
|
D | TextureZeroInitTests.cpp | 26 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/ |
D | Texture.cpp | 103 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/ |
D | TextureViewTests.cpp | 33 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 …]
|
D | TextureSubresourceTests.cpp | 26 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/ |
D | Texture.cpp | 139 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 …]
|
D | SubresourceStorage.h | 115 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()
|
D | CopyTextureForBrowserHelper.cpp | 343 srcTextureViewDesc.arrayLayerCount = 1; in DoCopyTextureForBrowser() 364 dstTextureViewDesc.arrayLayerCount = 1; in DoCopyTextureForBrowser()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPUTexture.cpp | 43 !conv(desc.arrayLayerCount, descriptor.arrayLayerCount) || // in createView()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | TextureMTL.mm | 91 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/ |
D | TextureGL.cpp | 53 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/ |
D | TextureGL.cpp | 32 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/ |
D | TextureD3D12.cpp | 551 mSrvDesc.Texture2DArray.ArraySize = descriptor->arrayLayerCount; in TextureView() 561 ASSERT(descriptor->arrayLayerCount % 6 == 0); in TextureView() 564 mSrvDesc.TextureCubeArray.NumCubes = descriptor->arrayLayerCount / 6; in TextureView()
|