commit | 3acf74a3469d61b2255c78b80a583a695da7fba4 | [log] [tgz] |
---|---|---|
author | Rafael Cintron <rafael.cintron@microsoft.com> | Thu Jun 19 11:16:57 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 19 11:16:57 2025 -0700 |
tree | 65d95df380fd12b56a26e2d1a8a3db191b2de081 | |
parent | 4247859862cf9d8189ccb2afc1a383a996f20a16 [diff] |
[Win] Fix GetModulePath to return correct Dawn DLL path GetHModulePath ignores its 'module' parameter and always returns the executable path instead of the Dawn path. CL fixes Dawn's GetHMmodulePath to forward the module parameter to the OS GetModuleFileName. We use the more convenient __ImageBase compiler intrinsic to get the current module's HINSTANCE. Improve DynamicLib::Open error string by including filename of the library which failed to load. Change-Id: I7e0bca05b48b139b26ecb4ade6ff76130a61eaa6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/247754 Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Corentin Wallez <cwallez@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.