Home
last modified time | relevance | path

Searched refs:sampleFormatInfo (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DTextureFormatTests.cpp183 dawn::RenderPipeline CreateSamplePipeline(FormatTestInfo sampleFormatInfo, in CreateSamplePipeline() argument
201 switch (sampleFormatInfo.type) { in CreateSamplePipeline()
242 void DoSampleTest(FormatTestInfo sampleFormatInfo, in DoSampleTest() argument
250 ASSERT(sampleDataSize % sampleFormatInfo.texelByteSize == 0); in DoSampleTest()
251 uint32_t width = sampleDataSize / sampleFormatInfo.texelByteSize; in DoSampleTest()
261 sampleTextureDesc.format = sampleFormatInfo.format; in DoSampleTest()
281 readbackBufferDesc.size = 4 * width * sampleFormatInfo.componentCount; in DoSampleTest()
285 dawn::RenderPipeline pipeline = CreateSamplePipeline(sampleFormatInfo, renderFormatInfo); in DoSampleTest()
362 FormatTestInfo sampleFormatInfo = GetUncompressedFormatInfo(formatInfo); in DoFormatRenderingTest() local
363 DoSampleTest(sampleFormatInfo, textureData.data(), textureData.size() * sizeof(TextureData), in DoFormatRenderingTest()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureFormatTests.cpp141 wgpu::RenderPipeline CreateSamplePipeline(FormatTestInfo sampleFormatInfo, in CreateSamplePipeline() argument
157 const char* type = utils::GetWGSLColorTextureComponentType(sampleFormatInfo.format); in CreateSamplePipeline()
184 void DoSampleTest(FormatTestInfo sampleFormatInfo, in DoSampleTest() argument
192 ASSERT(sampleDataSize % sampleFormatInfo.texelByteSize == 0); in DoSampleTest()
193 uint32_t width = sampleDataSize / sampleFormatInfo.texelByteSize; in DoSampleTest()
203 sampleTextureDesc.format = sampleFormatInfo.format; in DoSampleTest()
226 wgpu::RenderPipeline pipeline = CreateSamplePipeline(sampleFormatInfo, renderFormatInfo); in DoSampleTest()
333 FormatTestInfo sampleFormatInfo = GetUncompressedFormatInfo(formatInfo); in DoFormatRenderingTest() local
342 DoSampleTest(sampleFormatInfo, expandedTextureData.data(), in DoFormatRenderingTest()