Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 200b4f5d25137d00c52458cfffa754732840e35c
https://github.com/WebKit/WebKit/commit/200b4f5d25137d00c52458cfffa754732840e35c
Author: Tadeu Zagallo <[email protected]>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M Source/WebGPU/WGSL/CallGraph.cpp
M Source/WebGPU/WGSL/CallGraph.h
M Source/WebGPU/WGSL/WGSL.cpp
Log Message:
-----------
[WGSL] Call graph should only contain the entrypoints being compiled
https://bugs.webkit.org/show_bug.cgi?id=255660
rdar://problem/108265851
Reviewed by Mike Wyrzykowski.
The call graph is used as the source of truth to determine what needs to be
compiled, and currently it includes all the entry points. Pass down the
pipeline layouts to the call graph builder so we can determine which entry
points are actually needed.
* Source/WebGPU/WGSL/CallGraph.cpp:
(WGSL::CallGraphBuilder::CallGraphBuilder):
(WGSL::CallGraphBuilder::initializeMappings):
(WGSL::buildCallGraph):
* Source/WebGPU/WGSL/CallGraph.h:
* Source/WebGPU/WGSL/WGSL.cpp:
(WGSL::prepareImpl):
Canonical link: https://commits.webkit.org/263170@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes