commit | 01c6a443586f81d07f0b05bd09b11a5406d28b81 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Oct 05 19:25:09 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 05 19:25:09 2021 +0000 |
tree | 84a984dbda88d2ad812b411de38515d737ff3eeb | |
parent | f71f843944b63262f00a94497092f2ddb3a70ad8 [diff] |
dawn_node: Fixes for GPU.cpp Check the result of std::getenv() before constructing a std::string. std::string cannot be constructed with nullptr. Fix ambiguous overload resolution of std::tolower(), by wrapping it in a lambda that explicitly takes a 'char' argument. Bug: dawn:1123 Change-Id: I8a44524a6c0e71f7d2a49a5a9f730115c32df577 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/65960 Reviewed-by: Antonio Maiorano <amaiorano@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.