commit | 6c3da3dc5b875a9500770644e0966c9f731dae7f | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Sun Oct 11 18:39:32 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Sun Oct 11 18:39:32 2020 +0000 |
tree | 5234f0774e30a4f2561d785898f71052a85cba93 | |
parent | 1c25198384e7ecfebbd3ac84203d3b1d46a0e228 [diff] |
Make SetViewport validation match upstream WebGPU. As a side-effect this allows empty viewports which need special handling in Vulkan because it is not allowed to set width to 0 (but ok to set height to 0). Validation tests are updated to cover the new validation checks. Most of the viewport end2end tests are rewritten because they didn't pass the new validation. A new end2end test is added to test various kinds of empty viewports to cover the extra logic in the Vulkan backend. Bug: dawn:542 Change-Id: I8bb25612eeed04162a6b942983167eacab3a1906 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/29681 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.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.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.