commit | 594755465a443a4d3cf2238aaad0909193327c49 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Fri Nov 29 19:09:09 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 29 19:09:09 2024 +0000 |
tree | 8d486f738253e8ae0ca8e96d31048924778259b0 | |
parent | fe1ba9efb03ccce003b5fe080a1eac5aae4da56f [diff] |
[hlsl] Use PreventInfiniteLoops transform This hardens potentially infinite loops to prevent them from being exploited to circumvent bounds checks. Emit return statements for `unreachable` instructions that terminate function bodies, as now DXC believes that they might be reachable. Bug: 380090814 Change-Id: I66bcfbe9b0f222b2f67195130555f34ddad94c13 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/217335 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: James Price <jrprice@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.