46ee63933c
Prevents UB for divide-by-zero and integer overflow when dividing Fixed: tint:1349 Change-Id: Ieef66d27d7aec3011628ced076b2bccc7770a8af Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/108925 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
add | ||
bit-and | ||
bit-or | ||
bit-xor | ||
div | ||
div_by_zero | ||
left-shift | ||
mod | ||
mod_by_zero | ||
mul | ||
right-shift | ||
sub |