8525ff29da
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> |
||
---|---|---|
.. | ||
tint | ||
OWNERS |