| commit | b238c46228e3873c74ef0124277cad1fb67034a7 | [log] [tgz] |
|---|---|---|
| author | James Price <jrprice@google.com> | Fri Apr 11 16:06:24 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 11 16:06:24 2025 -0700 |
| tree | 86d281cab80e9a32f9a9b03a9d5d2cfbf832c2f0 | |
| parent | 7812b7aaa6b86e0dedf75a33d06097bfa36d321c [diff] |
[ir] Validate that uniform and storage vars have host-shareable types Move the IsHostShareable() helper from the WGSL validator into core::type::Type*, using flags to avoid re-computing it on every call. Fixed: 409840687 Change-Id: I1edd77da419211c09c23e5ba324c3b082f0b8010 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/236077 Reviewed-by: Antonio Maiorano <amaiorano@google.com> 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.