|author||Yunchao He <firstname.lastname@example.org>||Thu Jun 10 17:04:04 2021 +0000|
|committer||Dawn LUCI CQ <email@example.com>||Thu Jun 10 17:04:04 2021 +0000|
Refactor CopySplitTests.cpp in unittest D3D12 The log output code snippet duplicates again and again in this test. So this change put it into a function and all tests can call that function without duplicated code. It names the new function as DoTest(), which calls DoTest2D() (the original DoTest()). The new function can add DoTest3D() into the test in order to test 3D texture splitter if needed and all tests don't need to change anything. It also removes TexelBlockInfo instance in DoTest2D(), which provide no new info, just as Origin3D instance (for origin) and Extent3D instance (for copySize). Bug: dawn:547 Change-Id: I668682c5bdbae56dcdc8cf0e232f27233e17b883 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/54221 Reviewed-by: Austin Eng <firstname.lastname@example.org> Reviewed-by: Corentin Wallez <email@example.com> Commit-Queue: Yunchao He <firstname.lastname@example.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements
webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.hversion that Dawn implements.
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.