commit | e68cc7fd1318640d77eab109a4649fc87d6fc4c7 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Fri Jun 14 04:06:06 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 14 04:06:06 2024 +0000 |
tree | 3fcc876c97c28661d4790a080ea3ba45258b1234 | |
parent | 7061d4b9662c33eed9646f54488fac370b7b3014 [diff] |
Make a convenience cpp method for WaitAny with one future When one future is waited on, there is no need for FutureWaitInfo. FutureWaitInfo tells you which futures completed when the application passed a list of futures. But when the list is only one element, WaitStatus::Success always means that the future completed. When waiting on just one future, this is much more convenient than creating the extra struct. Bug: none Change-Id: I75b722511a8025a5c1d9229380a5a1618d21a0a8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/193701 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya <kainino@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.