51be3420b8
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> |
||
---|---|---|
.. | ||
intmin.wgsl | ||
intmin.wgsl.expected.dxc.hlsl | ||
intmin.wgsl.expected.fxc.hlsl | ||
intmin.wgsl.expected.glsl | ||
intmin.wgsl.expected.msl | ||
intmin.wgsl.expected.spvasm | ||
intmin.wgsl.expected.wgsl |