commit | 988805ac8637dc9d93887fe521f5a5805600d02d | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Mon Apr 22 18:57:10 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 22 18:57:10 2024 +0000 |
tree | 0138004055d7378f7c2f77f4b8314ed8f9a4022a | |
parent | b12e254c13a9f911a36012a7d3bf021825344737 [diff] |
[tint][spirv-ast] Fix emission of discard followed by statement `discard` produces `OpKill` which is a SPIR-V terminating instruction. We must stop emission of the block at this point. Fixed: chromium:336241885 Change-Id: I56907a1dbe101ab811eb0e238173ce72db7e3ac2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/185105 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.