Prevent explicit creation of textures with multiplanar formats Some backend APIs don't let you create multiplanar textures directly. Because we don't need this right now, disallow it. The multiplanar formats feature is restricted to just wrapping external textures now. A separate feature can be added in the future for explicit creation. - moves existing validation tests to end2end tests since we need a backend to wrap yuv textures - hardens validation such that uninitialized multiplanar textures cannot be wrapped. This is because they are currently only valid for readonly usages - meaning Dawn is unable to perform the initialization. Bug: chromium:1450753 Change-Id: I419bee98946ea6d46a938d4379f78691325fbdaf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/135660 Auto-Submit: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Jie A Chen <jie.a.chen@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.