commit | c4cfbf01951e014eea4079a3fea810ceca0f9af4 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Thu Jun 13 04:00:19 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 13 04:00:19 2024 +0000 |
tree | 967d4d373c8a7446c17d9f085e162b394edf03b4 | |
parent | 9f4eff245f365bf58c314ec558edc63cec506ce5 [diff] |
Return wgpu::Status from SharedTexture/BufferMemory Begin/EndAccess Note, there is a small behavior change where previously, you could EndAccess and return "true" if the access was successfully ended, but there was some other error exporting the fence. We could return a new enum to differentiate these cases, but ultimately I decided it is not worth it. If the fence failed to export, then it would be unsafe to use the texture after anyway since you can't wait on it. All the error cases are merged into one now. Bug: 42241199 Change-Id: I19f2700bd00b9661bd37943072b9d149b956f55f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/193282 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.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.