commit | 1b48cc0d6fa8e58eeb3ff6923210494124944135 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri May 26 15:48:12 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 26 15:48:12 2023 +0000 |
tree | 4cfccfca0a77eaff43c018054214d1a0c7868245 | |
parent | bcf4174c06eca0a3b19e10d087f276fd0dfc4641 [diff] |
Add more supported swapchain texture usages. Adds the CopySrc and CopyDst usages to swapchain textures when available in backends so that the wgpu::Texture returned from GetCurrentTexture can be used in copies. Also adds a swapchain tests to check that these usages indeed work. Bug: dawn:1551 Change-Id: I8495075b0bfb5b8dd953a7811a9d75a76096b143 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133464 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.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.