Home
last modified time | relevance | path

Searched refs:kTextureFormat (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DQueueTests.cpp200 static constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::RGBA8Unorm; member in QueueWriteTextureTests
218 uint32_t bytesPerRow = writeSize.width * utils::GetTexelBlockSizeInBytes(kTextureFormat); in MinimumDataSpec()
228 utils::RequiredBytesInCopy(bytesPerRow, rowsPerImage, writeSize, kTextureFormat); in MinimumDataSpec()
266 descriptor.format = kTextureFormat; in DoTest()
280 const uint32_t bytesPerTexel = utils::GetTexelBlockSizeInBytes(kTextureFormat); in DoTest()
519 copyExtent.width * utils::GetTexelBlockSizeInBytes(kTextureFormat) + b; in TEST_P()
561 (copyExtent.width + b) * utils::GetTexelBlockSizeInBytes(kTextureFormat); in TEST_P()
569 copyExtent.width * utils::GetTexelBlockSizeInBytes(kTextureFormat) + b; in TEST_P()
DStorageTextureTests.cpp829 constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::R32Uint; in TEST_P() local
839 kTextureFormat, wgpu::TextureUsage::StorageBinding | wgpu::TextureUsage::CopySrc, in TEST_P()
844 CommonWriteOnlyTestCode("compute", kTextureFormat, dimension); in TEST_P()
849 CheckOutputStorageTexture(writeonlyStorageTexture, kTextureFormat, kSliceCount); in TEST_P()
856 constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::R32Uint; in TEST_P() local
858 CreateTexture(kTextureFormat, in TEST_P()
863 kTextureFormat, wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::StorageBinding, 1u, in TEST_P()
939 constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::R32Uint; in GetExpectedData() local
941 const uint32_t texelSizeInBytes = utils::GetTexelBlockSizeInBytes(kTextureFormat); in GetExpectedData()
DCopyTextureForBrowserTests.cpp25 static constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::RGBA8Unorm; variable
63 wgpu::TextureFormat format = kTextureFormat;
406 kTextureFormat,
437 kTextureFormat,
518 kTextureFormat, in DoColorConversionTest()
DBufferZeroInitTests.cpp122 constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::R32Float; in TestBufferZeroInitInCopyTextureToBuffer() local
123 ASSERT(utils::GetTexelBlockSizeInBytes(kTextureFormat) * spec.textureSize.width % in TestBufferZeroInitInCopyTextureToBuffer()
129 CreateAndInitializeTexture(spec.textureSize, kTextureFormat, kClearColor); in TestBufferZeroInitInCopyTextureToBuffer()
136 spec.textureSize, kTextureFormat); in TestBufferZeroInitInCopyTextureToBuffer()
874 constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::R32Uint; in TEST_P() local
876 wgpu::Texture texture = CreateAndInitializeTexture(kTextureSize, kTextureFormat); in TEST_P()
882 kTextureBytesPerRowAlignment, rowsPerImage, kTextureSize, kTextureFormat); in TEST_P()