commit | c69649c925d399274c0a35773bbd856d5a8231f9 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Oct 14 10:49:35 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 14 10:49:35 2024 +0000 |
tree | b066d94868a05801de1b82d6fc895685e98914f1 | |
parent | 57797e5babd6ebfe66e02dc64141c876d75242c0 [diff] |
[dawn][graphite] Add a check for MTLFunction being nil. There is a crash report which seems that point at the Metal backend failing to get an MTLFunction after making the MTLLibrary. It's not clear why that would happen, so add an explicit check that provides more context which will end up in the CrashKey. Bug: 372181030 Change-Id: I2404da13dbde2390ffc7b63567eadbdc54dc078e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/210495 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Saifuddin Hitawala <hitawala@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.