commit | 420c94dea54a27d55c90ddc7907d871e070b0df3 | [log] [tgz] |
---|---|---|
author | François Beaufort <beaufort.francois@gmail.com> | Fri Jun 14 02:21:23 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 14 02:21:23 2024 +0000 |
tree | f1d4c44fd3189b211cf3f5c1d7535494a63e7e92 | |
parent | 88e0d75cf82d0e09d30035aaeed52f5b90d21f48 [diff] |
Make GPUAdapter GetInfo() a suitable replacement for GetProperties Following up on a webgpu.h change[1], this CL adds support for adapter properties memory heaps, adapter properties D3D, adapter properties vk, dawn adapter properties power preference, and compatibility mode to GPUAdapter GetInfo() method so that Chrome can start the migration[2]. Once done, the GPUAdapter GetProperties() method will be marked as deprecated and we'll start using only GetInfo() in Dawn. Finally, we'll remove the GPUAdapter GetProperties() method. [1]: https://github.com/webgpu-native/webgpu-headers/pull/305 [2]: https://chromium-review.googlesource.com/c/chromium/src/+/5626172 Bug: 335383516 Change-Id: I720581c1c5594d8997dc794e228fe14efb8d20cd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/193461 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: 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.