commit | 8525ff29da6b005381abe94023a303edc0f39c44 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Mon Mar 06 21:05:01 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 06 21:05:01 2023 +0000 |
tree | 1e27d99fd8854510fad7078912d1814d940e97da | |
parent | 5e5655155110e121763e3dca13d20c3eda09167e [diff] |
tint/transform/robustness: Implement predicated mode This change overhauls the Robustness transform to support three modes, per address space: * ignore - Disable robustness checks for the address space * clamp - Clamp indices / texture args to ensure they're in bounds. This was the old behavior, and continues to be the default. * predicate - Condition all indexing / textureLoad / textureStore / atomic* operations on the bounds check. If any dependent value is out of bounds, then the operation is skipped. This change also fixes multiple expression evaluation of the texture builtin 'level' argument. Change-Id: I2e300ddff2c8d3183a9701f06985ce1b262baf2c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122343 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Kokoro: Ben Clayton <bclayton@chromium.org> Commit-Queue: Ben Clayton <bclayton@chromium.org>
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.