Searched refs:textureWidthLevel0 (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | CompressedTextureFormatTests.cpp | 48 uint32_t textureWidthLevel0; member 74 uint32_t actualWidthAtLevel = copyConfig.textureWidthLevel0 >> copyConfig.baseMipmapLevel; in CopyDataIntoCompressedTexture() 210 dawn::Texture bcTexture = Create2DTexture(device, config.format, config.textureWidthLevel0, in TestCopyRegionIntoBCFormatTextures() 392 return {config.textureWidthLevel0 >> config.baseMipmapLevel, in GetVirtualSizeAtLevel() 424 config.textureWidthLevel0 = 8; in TEST_P() 426 config.copyExtent3D = {config.textureWidthLevel0, config.textureHeightLevel0, 1}; in TEST_P() 438 config.textureWidthLevel0 = 8; in TEST_P() 461 config.textureWidthLevel0 = kTextureRowPitchAlignment / in TEST_P() 464 config.copyExtent3D = {config.textureWidthLevel0, config.textureHeightLevel0, 1}; in TEST_P() 473 config.textureWidthLevel0 = 8; in TEST_P() [all …]
|
D | TextureViewTests.cpp | 115 const uint32_t textureWidthLevel0 = 1 << mipLevelCount; in initTexture() local 120 … device, textureWidthLevel0, textureHeightLevel0, arrayLayerCount, mipLevelCount, kUsage); in initTexture() 134 ASSERT_LE(textureWidthLevel0, kPixelsPerRowPitch); in initTexture() 139 const uint32_t texWidth = textureWidthLevel0 >> level; in initTexture() 475 const uint32_t textureWidthLevel0 = 1 << levelCount; in TextureLayerAsColorAttachmentTest() local 480 device, textureWidthLevel0, textureHeightLevel0, layerCount, levelCount, kUsage); in TextureLayerAsColorAttachmentTest() 527 uint32_t textureViewWidth = textureWidthLevel0 >> textureViewBaseLevel; in TextureLayerAsColorAttachmentTest() 529 uint32_t rowPitch = Align(kBytesPerTexel * textureWidthLevel0, kTextureRowPitchAlignment); in TextureLayerAsColorAttachmentTest() 531 rowPitch / kBytesPerTexel * (textureWidthLevel0 - 1) + textureHeightLevel0; in TextureLayerAsColorAttachmentTest()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | TextureViewTests.cpp | 125 const uint32_t textureWidthLevel0 = 1 << mipLevelCount; in initTexture() local 129 mTexture = Create2DTexture(device, textureWidthLevel0, textureHeightLevel0, arrayLayerCount, in initTexture() 144 ASSERT_LE(textureWidthLevel0, kPixelsPerRowPitch); in initTexture() 149 const uint32_t texWidth = textureWidthLevel0 >> level; in initTexture() 473 uint32_t textureWidthLevel0, in TextureLayerAsColorAttachmentTest() argument 482 wgpu::Texture texture = Create2DTexture(device, textureWidthLevel0, textureHeightLevel0, in TextureLayerAsColorAttachmentTest() 528 uint32_t textureViewWidth = std::max(1u, textureWidthLevel0 >> textureViewBaseLevel); in TextureLayerAsColorAttachmentTest() 531 Align(kBytesPerTexel * textureWidthLevel0, kTextureBytesPerRowAlignment); in TextureLayerAsColorAttachmentTest() 533 bytesPerRow / kBytesPerTexel * (textureWidthLevel0 - 1) + textureHeightLevel0; in TextureLayerAsColorAttachmentTest()
|
D | SamplerFilterAnisotropicTests.cpp | 100 const uint32_t textureWidthLevel0 = 1 << (mipLevelCount - 1); in InitTexture() local 105 descriptor.size.width = textureWidthLevel0; in InitTexture() 120 const uint32_t texWidth = textureWidthLevel0 >> level; in InitTexture()
|