dawn-cmake/test/tint/expressions/literals
dan sinclair b3b027d3cd Update lexer to not include `-` in numbers.
This CL removes the parsing of a `-` in front of numerics when lexed.
This will cause the number to become a UnaryOperator negation then the
number instead of a negative number.

Bug: tint:1679, tint:1141, tint:1570
Change-Id: I217c0ffcbe5be934c8d56bd83141b47ade83bc60
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106463
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-10-26 15:20:47 +00:00
..
-inf.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
-inf.spvasm.expected.dxc.hlsl tint: HLSL and GLSL backends now emit 0 for inf and nan 2022-09-03 21:43:01 +00:00
-inf.spvasm.expected.fxc.hlsl tint: HLSL and GLSL backends now emit 0 for inf and nan 2022-09-03 21:43:01 +00:00
-inf.spvasm.expected.glsl tint: HLSL and GLSL backends now emit 0 for inf and nan 2022-09-03 21:43:01 +00:00
-inf.spvasm.expected.msl tint/writer/msl: Inline constant expressions 2022-06-01 10:08:29 +00:00
-inf.spvasm.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
-inf.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
inf.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
inf.spvasm.expected.dxc.hlsl tint: HLSL and GLSL backends now emit 0 for inf and nan 2022-09-03 21:43:01 +00:00
inf.spvasm.expected.fxc.hlsl tint: HLSL and GLSL backends now emit 0 for inf and nan 2022-09-03 21:43:01 +00:00
inf.spvasm.expected.glsl tint: HLSL and GLSL backends now emit 0 for inf and nan 2022-09-03 21:43:01 +00:00
inf.spvasm.expected.msl tint/writer/msl: Inline constant expressions 2022-06-01 10:08:29 +00:00
inf.spvasm.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
inf.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
intmin.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
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: const eval of binary add 2022-08-04 19:48:27 +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
nan.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nan.spvasm.expected.dxc.hlsl tint: HLSL and GLSL backends now emit 0 for inf and nan 2022-09-03 21:43:01 +00:00
nan.spvasm.expected.fxc.hlsl tint: HLSL and GLSL backends now emit 0 for inf and nan 2022-09-03 21:43:01 +00:00
nan.spvasm.expected.glsl tint: HLSL and GLSL backends now emit 0 for inf and nan 2022-09-03 21:43:01 +00:00
nan.spvasm.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
nan.spvasm.expected.spvasm tint: Lex different tokens for float suffixes 2022-05-10 14:55:34 +00:00
nan.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00