dawn-cmake/test/tint/expressions
Ben Clayton 41285aa578 tint: Lex different tokens for float suffixes
Generate different tokens for:
• 'f' suffixed float literals
• unsuffixed integer literals

'f' and unsuffixed are currently both treated as f32 by the resolver,
but this is the first step to supporting abstract floats.

Bug: tint:1504
Change-Id: Id3b1fe420b6eb8901f88d6a5de06ef4f54aa3edf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89031
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-05-10 14:55:34 +00:00
..
binary Implement mixed vector-scalar float % operator 2022-03-28 14:36:31 +00:00
bitcast tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
index tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
literals tint: Lex different tokens for float suffixes 2022-05-10 14:55:34 +00:00
splat PromoteSideEffectsToDecl: add to 4 backends and regen tests 2022-03-15 15:35:13 +00:00
swizzle wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
type_ctor tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
unary tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
zero_init wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00