commit | 74f0c02044ca5d058f582c64b00c39e0f75e24f0 | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Thu Jun 10 17:04:04 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 10 17:04:04 2021 +0000 |
tree | 05a59b8b1b64d1ba1febb4165cdcdc9a9c70127f | |
parent | f8a0f82fad3893c80fdc3219cb09900be02a1655 [diff] |
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 <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Yunchao He <yunchao.he@intel.com>
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.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.