[Webkit-unassigned] [Bug 246559] New: [WGSL] Flesh out WGSL AST
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 14 21:15:00 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=246559
Bug ID: 246559
Summary: [WGSL] Flesh out WGSL AST
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGPU
Assignee: webkit-unassigned at lists.webkit.org
Reporter: djg at apple.com
Only a partial AST is implemented. After studying the WGSL specification, I propose:
```
Node
|- Attribute
| |- AlignAttribute
| |- BindingAttribute
| |- BuiltinAttribute
| |- ConstAttribute
| |- GroupAttribute
| |- IdAttribute
| |- InterpolateAttribute
| |- InvariantAttribute
| |- LocationAttribute
| |- SizeAttribute
| |- StageAttribute
| |- WorkgroupSizeAttribute
|- Directive
|- Expression
| |- BinaryExpression
| |- BitcastExpression
| |- IndexAccessExpression
| |- CallExpression
| |- IdentiferExpression
| |- LiteralExpression
| | |- BoolLiteral
| | |- FloatLiteral
| | |- IntegerLiteral
| |- FieldAccessExpression
| |- UnaryExpression
|- Function
|- ShaderModule
|- Statement
| |- AssignmentStatement
| |- BreakStatement
| |- CallStatement
| |- CompoundAssignmentStatement
| |- CompoundStatement
| |- ContinueStatement
| |- DecrementStatement
| |- DiscardStatement
| |- ForStatement
| |- IfStatement
| |- IncrementStatement
| |- LoopStatement
| |- ReturnStatement
| |- StaticAssertStatement
| |- SwitchStatement
| |- VariableStatement
| |- WhileStatement
|- Structure
|- StructureMember
|- TypeAlias
|- TypeName
| |- ArrayTypeName
| |- NamedTypeName
| |- ParameterizedTypeName
|- Value
| |- ConstantValue
| |- OverrideValue
| |- LetValue
| |- ParameterValue
|- Variable
|- VariableQualifier
```
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221015/e774f082/attachment.htm>
More information about the webkit-unassigned
mailing list