commit | 8f4f4495408cfde7755be8127180178015bf7d40 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Fri May 20 19:41:50 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 20 19:41:50 2022 +0000 |
tree | f76e3264d2cef3a2c9c32d98059c0f65e7c7c06e | |
parent | 34f4e1ecd3025975fa7cf81f48e6c795ed85f02a [diff] |
tint/writer: Do not attempt to use invalid programs Attempting to emit shader code from an invalid program is unsafe. The WGSL writer is used for dumping information which is valuable for debugging bad programs, so this has not been changed. Bug: chromium:1327461 Change-Id: I4497fcb19d126ef6c872e2bcda8e9b79044aeb68 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/91163 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.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.