[webkit-changes] [WebKit/WebKit] adb9b5: [WGSL] Set correct default var access mode based o...
Tadeu Zagallo
noreply at github.com
Thu May 25 23:53:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: adb9b5b4d062cead39ef3c810986d07e6a11190b
https://github.com/WebKit/WebKit/commit/adb9b5b4d062cead39ef3c810986d07e6a11190b
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-05-25 (Thu, 25 May 2023)
Changed paths:
M Source/WebGPU/WGSL/Parser.cpp
Log Message:
-----------
[WGSL] Set correct default var access mode based on address space
https://bugs.webkit.org/show_bug.cgi?id=257270
rdar://109786719
Reviewed by Mike Wyrzykowski.
In case the user speficies the address space when declaring a `var`, but no access
mode, the default access mode is dependent on the access mode.
Spec table for reference: https://www.w3.org/TR/WGSL/#address-space
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseVariableQualifier):
Canonical link: https://commits.webkit.org/264561@main
More information about the webkit-changes
mailing list