commit | 2fce40705f903a3b28973c0764d610aea5bcf54c | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Fri Nov 29 20:46:29 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 29 20:46:29 2024 +0000 |
tree | 49eb160df5e47152f27d93599c88fa529cbcd593 | |
parent | 594755465a443a4d3cf2238aaad0909193327c49 [diff] |
[spirv] Use PreventInfiniteLoops transform This hardens potentially infinite loops to prevent them from being exploited to circumvent bounds checks. Add support for loop results in the transform. This won't happen for any WGSL shader input, but some if the backend unit tests do this. Bug: 380090814 Change-Id: I7c940c86b5b0194ba4fc7ea09e8148761de28430 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/217374 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: David Neto <dneto@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.