dawn-cmake/test/tint/statements
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
..
assign tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
compound_assign tint/writer/glsl: Fix emission of lowest i32 value 2023-03-08 21:13:22 +00:00
decrement tint/transform/utils: Correctly scope for-loop init 2023-03-02 17:18:27 +00:00
discard tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
for tint/transform: fix PromoteInitializersToLet for constant expressions 2022-12-09 12:34:36 +00:00
increment tint/transform/utils: Correctly scope for-loop init 2023-03-02 17:18:27 +00:00
switch tint/hlsl: for default-only switch, only emit condition if it has side-effects 2023-02-01 15:46:34 +00:00