commit | 736e97c5e0bddee39f890a2cb4fce39a8cbd2d17 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Jun 08 18:14:02 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 08 18:14:02 2022 +0000 |
tree | e546a0589996e6140ef1a137d3e289d4b8042a94 | |
parent | bd30d9e594226e96c07ec3cd46dbdc68928aef41 [diff] |
Add reflection APIs for wgpu::Texture. This requires adding a custom implementation of DeviceCreateTexture and the Texture object in the wire client. In dawn::native this requires the format enum separately from mFormat which is a `const Format&` so that garbage format values can be reflected correctly for error textures. Bug: dawn:1451 Change-Id: I75b5635f36647f6f04dae54e92154f2b552beb64 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92661 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Corentin Wallez <cwallez@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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.