Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aba145921e47f46a0a8dcaf89813f41eaf3bc0a6
https://github.com/WebKit/WebKit/commit/aba145921e47f46a0a8dcaf89813f41eaf3bc0a6
Author: Tadeu Zagallo <[email protected]>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
M Source/WebGPU/WGSL/WGSL.h
M Source/WebGPU/WebGPU/Pipeline.mm
Log Message:
-----------
[WGSL] Initial support for override default values
https://bugs.webkit.org/show_bug.cgi?id=262622
rdar://116466820
Reviewed by Mike Wyrzykowski.
Pass the initializer expression to the API, which can later be evaluated with
the evaluation function introduced in 268833@main.
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::usesOverride):
* Source/WebGPU/WGSL/WGSL.h:
* Source/WebGPU/WebGPU/Pipeline.mm:
(WebGPU::createConstantValues):
Canonical link: https://commits.webkit.org/268905@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes