tartrazine/spec/tests/webgpu_shading_language/address-space.txt

73 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---input---
alias a=ptr<function,i32>;
alias b=ptr<private,i32>;
alias c=ptr<workgroup,i32>;
alias d=ptr<uniform,i32>;
alias e=ptr<storage,i32>;
---tokens---
'alias' Keyword
' ' Text.Whitespace
'a' Name
'=' Operator
'ptr' Name.Builtin
'<' Operator
'function' Name.Builtin
',' Punctuation
'i32' Name.Builtin
'>' Operator
';' Punctuation
'\n' Text.Whitespace
'alias' Keyword
' ' Text.Whitespace
'b' Name
'=' Operator
'ptr' Name.Builtin
'<' Operator
'private' Name.Builtin
',' Punctuation
'i32' Name.Builtin
'>' Operator
';' Punctuation
'\n' Text.Whitespace
'alias' Keyword
' ' Text.Whitespace
'c' Name
'=' Operator
'ptr' Name.Builtin
'<' Operator
'workgroup' Name.Builtin
',' Punctuation
'i32' Name.Builtin
'>' Operator
';' Punctuation
'\n' Text.Whitespace
'alias' Keyword
' ' Text.Whitespace
'd' Name
'=' Operator
'ptr' Name.Builtin
'<' Operator
'uniform' Name.Builtin
',' Punctuation
'i32' Name.Builtin
'>' Operator
';' Punctuation
'\n' Text.Whitespace
'alias' Keyword
' ' Text.Whitespace
'e' Name
'=' Operator
'ptr' Name.Builtin
'<' Operator
'storage' Name.Builtin
',' Punctuation
'i32' Name.Builtin
'>' Operator
';' Punctuation
'\n' Text.Whitespace