commit | 22afc2994a94984cef1b65e589914668e5f54d3d | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Sep 02 14:31:09 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 02 14:31:09 2025 -0700 |
tree | 177f6f777832008ad272941214d6a003adca1613 | |
parent | a95aa29948fe2530e01576afc2a20a31b3f9e5b8 [diff] |
Validate a subtype exists before decoding a type. In the IR decoder we may attempt to create a `TexelBuffer` ro `StorageTexture` based on a given texel format. That format may not be valid for creating the necessary subtype. Validate in the decoder before attempting to create the type. Fixed: 441827896 Change-Id: I4ca3901319659d91fea1790f0dd35aec8fa72daf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/260436 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com> Auto-Submit: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@google.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.