commit | fda77c46f82fc0dc40ecc82c2fa2709c8705329d | [log] [tgz] |
---|---|---|
author | Kevin Haslett <khaslett@chromium.org> | Tue Mar 19 14:35:19 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 19 14:35:19 2024 +0000 |
tree | e79b4f5df3fea515de61587555eb99a108e886ef | |
parent | c1056cf57292448ed6c56700aa9527a5d6394765 [diff] |
Add API to query FormatCapabilities on wgpu::Adapter For now this will be used just for querying DRM format modifiers on Linux platforms (ChromeOS) using the Vulkan backend, but in the future more WebGPU specific format capabilities can be added. https://github.com/webgpu-native/webgpu-headers/issues/283 Change-Id: I0cc6a548ea65a97a08afabecbb72bcc97d1cb801 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/179080 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Kevin Haslett <khaslett@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.