[webkit-changes] [WebKit/WebKit] 18b61d: [WGSL] Add type declarations for all synchronizati...
Tadeu Zagallo
noreply at github.com
Fri Sep 29 02:20:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 18b61d61e1052ebbaf7834ccf2c534e97d37dd5c
https://github.com/WebKit/WebKit/commit/18b61d61e1052ebbaf7834ccf2c534e97d37dd5c
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths:
M Source/WebGPU/WGSL/Overload.cpp
M Source/WebGPU/WGSL/Overload.h
M Source/WebGPU/WGSL/Parser.cpp
M Source/WebGPU/WGSL/TypeDeclarations.rb
M Source/WebGPU/WGSL/WGSLEnums.cpp
M Source/WebGPU/WGSL/WGSLEnums.h
M Source/WebGPU/WGSL/generator/main.rb
M Source/WebGPU/WGSL/tests/valid/overload.wgsl
Log Message:
-----------
[WGSL] Add type declarations for all synchronization built-in functions
https://bugs.webkit.org/show_bug.cgi?id=262303
rdar://116179275
Reviewed by Mike Wyrzykowski.
Add declarations for the 3 synchronization built-in functions from section
16.11 of the spec[1].
[1]: https://www.w3.org/TR/WGSL/#sync-builtin-functions
* Source/WebGPU/WGSL/Overload.h:
(WGSL::AbstractPointer::AbstractPointer):
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseVariableQualifier):
* Source/WebGPU/WGSL/TypeDeclarations.rb:
* Source/WebGPU/WGSL/WGSLEnums.cpp:
(WGSL::defaultAccessModeForAddressSpace):
* Source/WebGPU/WGSL/WGSLEnums.h:
* Source/WebGPU/WGSL/generator/main.rb:
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:
Canonical link: https://commits.webkit.org/268642@main
More information about the webkit-changes
mailing list