8822e2966a
Merge SintLiteralExpression and UintLiteralExpression with IntLiteralExpression. IntLiteralExpression has a new Suffix field which indicates whether the literal is either a: • 'i' suffixed integer literal • 'u' suffixed integer literal • no-suffix integer literal Have the SPIR-V reader produce no-suffixed literals for i32 types, to keep this change small. In future changes the SPIR-V reader will produce 'i' suffixed types for these. Have all consumers of IntLiteralExpression treat unsuffixed integers the same as 'i'-suffixed literals. Unsuffixed will be treated as abstract in future changes. Removed SemHelper::TypeOf(const ast::LiteralExpression* lit). Fixed: tint:1510 Bug: tint:1504 Change-Id: I443f41984e637ddd948182ee756af1010c5f8226 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88842 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
tint | ||
OWNERS |