commit | 94f5a3aa5c4a99f9c972e1c925a0c4fa2c5d9024 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Jul 20 14:50:56 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 20 14:50:56 2023 +0000 |
tree | 7835d7e247ce5b5069e8beb8d0e896192e296525 | |
parent | 0768c6f3cd0ac099f40f9f7ccf552157d4979176 [diff] |
[ir][spirv-writer] Handle fwidth* builtins These map directly to SPIR-V instruction, but we need to add the DerivativeControl capability for the `fine` and `coarse` variants. Also remove the capability from the regular dpdx and dpdy instructions which don't need it. Bug: tint:1906 Change-Id: Iad71dad2f2f824cb59bbd2cd2c5f47148344591d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/142029 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@google.com>
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.