dawn-cmake/test/tint/expressions/binary/div_by_zero/by_constant
Ben Clayton 51be3420b8 tint/writer/glsl: Fix emission of lowest i32 value
GLSL has the same behavior as MSL, in that -2147483648 is parsed as
a unary minus on '2147483648'. 2147483648 overflows an i32, so this
actually gets treated as -0.

Change-Id: Ibebd8b78a8840f18c438ed1d3d24dee486a65816
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123202
Reviewed-by: Stephen White <senorblanco@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-08 21:13:22 +00:00
..
scalar-scalar tint/writer/glsl: Fix emission of lowest i32 value 2023-03-08 21:13:22 +00:00
scalar-vec3 tint/writer/glsl: Fix emission of lowest i32 value 2023-03-08 21:13:22 +00:00
vec3-scalar tint/writer/glsl: Fix emission of lowest i32 value 2023-03-08 21:13:22 +00:00
vec3-vec3 tint/writer/glsl: Fix emission of lowest i32 value 2023-03-08 21:13:22 +00:00