commit | e91f24693a86d16a6fd8e8d2080a8a4b6265d30e | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Sun Nov 19 15:04:59 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Nov 19 15:04:59 2023 +0000 |
tree | d8fc4b72817e004dceef87fca29853cb9fb1fc0b | |
parent | 46b345354ccdb15b04a042d3a43a2171d70eb181 [diff] |
Distinguish AddMessageForTesting vs AddUnanchoredMessage This overload of AddMessage ignores the difference between UTF-8 and UTF-16 and just passes linePos/offset/length through. This is fine for testing (it used to be called AddMessageForTesting - the tests are just making sure the values make it through), but it would produce incorrect results if actually used anywhere. There is one usage of AddMessage to add an unanchored error message. This splits that functionality into a separately named method. Bug: None Change-Id: Ifbffa686cf6d81838f5ae450583204855f08b329 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/161460 Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Auto-Submit: Kai Ninomiya <kainino@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.