Add support for creating 1D textures. However there are a lot more things to implement for full support: - Copies from/to buffers. - Copies from/to other textures. - WriteTexture - Lazy initialization (if needed) - Anything using views and 1D textures in shaders So they are currently marked as unsafe API. Bug: dawn:814 Change-Id: I3f1aac87bd5bc27f710d58e525938c1226d093d8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/64542 Reviewed-by: Austin Eng <enga@chromium.org> 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.