commit | 3639186e7e6ae8fb83a46b796f3ca3b896bdc5ae | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Jan 13 22:27:08 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Jan 13 22:27:08 2021 +0000 |
tree | 4c6791ee093d90b1bcdd61478f8511da8d8becc2 | |
parent | 2f1278e68b9073dedcdcfb9574a2477fffbb37b9 [diff] |
ShaderModule: Include extra information in shader errors If the SPIR-V fails to validate, include the SPIR-V disassembly in the error. If the shader fails to compile, include the shader source in the error. Change-Id: I05f93b5dec7985c42ddf9cd14621af2a855ee640 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37282 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
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.