dawn-cmake/test/tint/expressions/binary/mod/scalar-vec3
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
..
f16.wgsl tint: Add end-to-end tests for expressions using f16 types 2022-08-03 08:45:25 +00:00
f16.wgsl.expected.dxc.hlsl tint: Add end-to-end tests for expressions using f16 types 2022-08-03 08:45:25 +00:00
f16.wgsl.expected.fxc.hlsl tint: Add end-to-end tests for expressions using f16 types 2022-08-03 08:45:25 +00:00
f16.wgsl.expected.glsl tint: Add end-to-end tests for expressions using f16 types 2022-08-03 08:45:25 +00:00
f16.wgsl.expected.msl tint: Add end-to-end tests for expressions using f16 types 2022-08-03 08:45:25 +00:00
f16.wgsl.expected.spvasm tint: Add end-to-end tests for expressions using f16 types 2022-08-03 08:45:25 +00:00
f16.wgsl.expected.wgsl tint: Add end-to-end tests for expressions using f16 types 2022-08-03 08:45:25 +00:00
f32.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
f32.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
f32.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
f32.wgsl.expected.glsl tint/writer: Disable constant inlining for lets 2022-06-24 18:15:39 +00:00
f32.wgsl.expected.msl tint/writer: Disable constant inlining for lets 2022-06-24 18:15:39 +00:00
f32.wgsl.expected.spvasm Implement mixed vector-scalar float % operator 2022-03-28 14:36:31 +00:00
f32.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
i32.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
i32.wgsl.expected.dxc.hlsl tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
i32.wgsl.expected.fxc.hlsl tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
i32.wgsl.expected.glsl tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
i32.wgsl.expected.msl tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
i32.wgsl.expected.spvasm tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
i32.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
u32.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
u32.wgsl.expected.dxc.hlsl tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
u32.wgsl.expected.fxc.hlsl tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
u32.wgsl.expected.glsl tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
u32.wgsl.expected.msl tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
u32.wgsl.expected.spvasm tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
u32.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00