commit | 0dc70785d813dc2e0e6236d96303632f1281e1c5 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Thu Jun 11 11:48:05 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Jun 11 11:48:05 2020 +0000 |
tree | 89e1a1a6f84022bbbb8468af1c974824127a65aa | |
parent | 667238b97dd19aa2654c275776bd1c1bbd42e95b [diff] |
Vulkan: handle Instance extensions more programmatically At the moment each instance extension needs special handling in 6+ places when added to the Vulkan backend. This is very error-prone and makes it difficult to do changes in how they are extensions are handled. This CL makes instance extensions linked with an enum class and a bitset to know which are available (instead of individual booleans). A table of known extensions with more information like `versionPromoted` so that they can be handled programmatically. Bug: dawn:457 Change-Id: I266deb730eb2b7f3ab0ee7ada1b06ff9748a60e4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/22940 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.