commit | 0da94c3d66cf1d975a1503a5989a210cbae40c7d | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Thu Apr 08 14:58:42 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Apr 08 14:58:42 2021 +0000 |
tree | 4c8af1b1231fc3ddf3d91135c7dac9683459ea91 | |
parent | 47b6b680e11606f2d82358c00f9487ee1c740c54 [diff] |
Use __VA_ARGS__ for texture expectation helpers/macros After we applied __VA_ARGS__ in macros and use {x, y} and {w, h} to replace (x, y) and (w, h) in EXPECT_TEXTURE_RGBA8_EQ and EXPECT_TEXTURE_FLOAT_EQ, we can use the more general macro EXPECT_TEXTURE_EQ. Then these two macros can be removed. Austin has already put a TODO for this change but didn't do that. utils::MakeOrigin and utils::MakeExtent are removed because they are not needed. In addition, this change removes 0 in callers for parameter level, because level's default values is 0 in helpers implementation. BUG: dawn:748 Change-Id: Iece4db7a8ed1d47b57988412f1c897205e7403d4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/47100 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.