commit | 6a2e16bdd90a244af519bb70ff58c2fb36580d27 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Fri Apr 02 06:57:43 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Fri Apr 02 06:57:43 2021 +0000 |
tree | b0414bfc459150e64835df71cfb123e76472aa0a | |
parent | 0a067f1ff9a41dabb7be6ad0d1d4fc81fec2bda1 [diff] |
Split top-level reflection code into either Tint or SPIRV-Cross Refactors the existing general reflection code to either use Tint or SPIRV-Cross, depending on the backend being used and provided flags. Tint is used when UseTintGenerator is enabled, otherwise SPIRV-Cross is used. For OpenGL, when Tint is used, additional reflection is performed using SPIRV-Cross to support GLSL generation. There still exists backend specific reflection that needs to be implemented in Tint for the complete removal of SPIRV-Cross for non-OpenGL when UseTintGenerator is enabled. BUG=dawn:743 Change-Id: Ie77afa83a2c960b3c87a3419997a16f8392991fd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46480 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Ryan Harrison <rharrison@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.