commit | 5d17ed6541afd44ffcc2e267d533ebd03354c75d | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Tue Aug 10 18:30:55 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 10 18:30:55 2021 +0000 |
tree | a94fe5af744b1c9a28269c9a55722166da4968cc | |
parent | ec9b81142fa3c4c5636696c10a7bd6f74b5e93be [diff] |
Wrap all uses of SPIRV-Cross in #define. Put all cross-platform code references to Spirv-Cross behind ifdef DAWN_USE_SPIRV_CROSS. Hide build dependencies behind dawn_use_spirv_cross, which itself is set from dawn_enable_opengl, since it is the only backend which is still using SPIRV-Cross. Bug: dawn:1036 Change-Id: Id61512230b50a32c63827a16fece40d7899968d8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/61400 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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.