[webkit-changes] [WebKit/WebKit] b866cc: [WGSL] Add new language features
Tadeu Zagallo
noreply at github.com
Tue Feb 27 07:47:48 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b866cccd7a08edce14641d81ee3cca8a66717f4f
https://github.com/WebKit/WebKit/commit/b866cccd7a08edce14641d81ee3cca8a66717f4f
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2024-02-27 (Tue, 27 Feb 2024)
Changed paths:
M Source/WebGPU/WGSL/Parser.cpp
M Source/WebGPU/WGSL/TypeCheck.cpp
M Source/WebGPU/WGSL/WGSLEnums.h
Log Message:
-----------
[WGSL] Add new language features
https://bugs.webkit.org/show_bug.cgi?id=270097
rdar://123637623
Reviewed by Mike Wyrzykowski.
Since the original implementation 3 new language features/extensions were added
to the spec[1]. We already implemented most of them, two of them, so it was just
a matter of adding them to the enum, but `pointer_composite_access` had to be
implemented, which in short allows accessing pointers to composite types in the
same way as references.
[1]: https://www.w3.org/TR/WGSL/#language-extensions-sec
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseRequireDirective):
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):
* Source/WebGPU/WGSL/WGSLEnums.h:
Canonical link: https://commits.webkit.org/275383@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list