dawn-cmake/test/tint/expressions/binary
Ben Clayton 46ee63933c tint/transform: Implement div / mod polyfill
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>
2022-11-09 22:04:11 +00:00
..
add tint/writer/msl: Move packed_vector hacks to transform 2022-10-27 14:36:49 +00:00
bit-and tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
bit-or tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
bit-xor tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
div tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
div_by_zero tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
left-shift tint/transform: Polyfill bit-shift with RHS modulo 2022-11-03 19:15:17 +00:00
mod tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
mod_by_zero tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
mul Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
right-shift tint/transform: Polyfill bit-shift with RHS modulo 2022-11-03 19:15:17 +00:00
sub tint/writer/msl: Move packed_vector hacks to transform 2022-10-27 14:36:49 +00:00