[webkit-changes] [WebKit/WebKit] e3bf03: [WGSL] Pass globals to callees
Tadeu Zagallo
noreply at github.com
Wed May 24 05:09:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e3bf03057559f2caaef18719cb1bd77a4ad7f07d
https://github.com/WebKit/WebKit/commit/e3bf03057559f2caaef18719cb1bd77a4ad7f07d
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-05-24 (Wed, 24 May 2023)
Changed paths:
M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
Log Message:
-----------
[WGSL] Pass globals to callees
https://bugs.webkit.org/show_bug.cgi?id=257219
rdar://109731516
Reviewed by Myles C. Maxfield.
Detect which globals are used by callees and pass them down from the entrypoints
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::visitCallee):
(WGSL::RewriteGlobalVariables::visit):
Canonical link: https://commits.webkit.org/264470@main
More information about the webkit-changes
mailing list