commit | b9e12716c6e77b5d80d2176f6d062eb5b8e59447 | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Sat May 06 01:26:25 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat May 06 01:26:25 2023 +0000 |
tree | 2c2a0a48f4d80be50383c5b0ecbdf492b3eccdaf | |
parent | 3ee4f6af410c0735e48930a6dccc495b3266cf43 [diff] |
Add FeatureLevel to AdapterBase; implement Compat. This introduces the notion of FeatureLevel, currently consisting of Core or Compatibility. Each AdapterBase is now constructed with the FeatureLevel it supports. When discovering PhysicalDevices, create an AdapterBase for each of the FeaturLevels which that PhysicalDevice supports. For most of the backends, this will mean Core and Compatibility, while OpenGL and D3D11 support only Compatibility. Bug: dawn:1796. Change-Id: I828247ef43e2220805ccf6c08827aa5e2382a026 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/118240 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Stephen White <senorblanco@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.