Home
last modified time | relevance | path

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

/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()