|author||Ben Clayton <email@example.com>||Tue Jan 12 08:50:31 2021 +0000|
|committer||Commit Bot service account <firstname.lastname@example.org>||Tue Jan 12 08:50:31 2021 +0000|
ShaderModule: Refactor ParseWGSL() to take a File* The tint::ast::Module holds a diagnostic list (tint::diag::List) which references the source tint::Source::File. If you try to enable any of the more pretty diagnostic printing functionality, and attempt to print these after ParseWGSL() has returned, you'll then dereference a pointer to the now stack unwound `tint::Source::File`. Promote the file up one callstack level to fix this. Bug: none. Only exposed when using pretty printing. Change-Id: I9432dd9d668fd1d92efa228bb5ed31278fd3ddfc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37280 Reviewed-by: Corentin Wallez <email@example.com> Reviewed-by: Austin Eng <firstname.lastname@example.org> Commit-Queue: Corentin Wallez <email@example.com> Auto-Submit: Ben Clayton <firstname.lastname@example.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.hversion that Dawn implements.
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.