commit | e81ceeed1226ab6e62c27cb5a34a360dc9069c2a | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Jun 12 07:58:14 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 12 07:58:14 2025 -0700 |
tree | e49eadeefbc3b53c84ea71f0ecd27de5ec34454b | |
parent | be597efec437e2bcf82c82daac2de8d8abdb6177 [diff] |
Emit IR if failed to convert to a program. When using the `ReadSpirv` helper function, if the conversion of the IR back to an AST program fails, emit the IR disassembly to give a better idea of what went wrong. Change-Id: I34d4c91b74794d5c0af929059ed9139bda0012da Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/246574 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
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.