commit | dc288ed43d74b8b443ff91a88aa5a70aa189dcfa | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Jul 12 19:59:34 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 12 19:59:34 2023 +0000 |
tree | 7730e5167556eeccfee5002d622145be82cd51db | |
parent | 6761d7a8912fc427dba2e35e1f1eb486edf801e0 [diff] |
[ir][spirv-writer] Handle discard in SPIR-V writer Use the DemoteToHelper transform, and map TerminateInvocation instructions to OpKill. Bug: tint:1906 Change-Id: Idc3526679416251fbda912f4e3d014c175ee4302 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/140887 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@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.