commit | f08036cc67afbadce0a61615eab20629a6c9f187 | [log] [tgz] |
---|---|---|
author | Hao Li <hao.x.li@intel.com> | Fri Dec 22 05:57:26 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 22 05:57:26 2023 +0000 |
tree | 28510633e53796ee54e08da7a94f58bc1f0a76a0 | |
parent | a40f6bb75d85186636ed6d93f016c0690460c198 [diff] |
Validate depthSlice not defined for non-3D color attachments The depthSlice has been initialized with WGPU_DEPTH_SLICE_UNDEFINED in Blink, we can add the validation back for 2D color attachments. And use constexpr instead of macro for the undefined value. Bug: dawn:1020 Change-Id: Idbd275cbcdc8f17f9294c1fb0e5551ce05e1c52b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/166364 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Hao Li <hao.x.li@intel.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.