dawn-cmake/test/tint/expressions/literals
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
..
intmin.wgsl
intmin.wgsl.expected.dxc.hlsl tint: const eval of binary add 2022-08-04 19:48:27 +00:00
intmin.wgsl.expected.fxc.hlsl tint: const eval of binary add 2022-08-04 19:48:27 +00:00
intmin.wgsl.expected.glsl tint/writer/glsl: Fix emission of lowest i32 value 2023-03-08 21:13:22 +00:00
intmin.wgsl.expected.msl tint: const eval of binary add 2022-08-04 19:48:27 +00:00
intmin.wgsl.expected.spvasm tint: const eval of binary add 2022-08-04 19:48:27 +00:00
intmin.wgsl.expected.wgsl Update lexer to not include `-` in numbers. 2022-10-26 15:20:47 +00:00