Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e553d772f7834fb83fa734c0ec7aa21733e0055f
https://github.com/WebKit/WebKit/commit/e553d772f7834fb83fa734c0ec7aa21733e0055f
Author: Tadeu Zagallo <[email protected]>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
M Source/WebGPU/WGSL/tests/valid/packing.wgsl
Log Message:
-----------
[WGSL] Add support for call expressions with packed types
https://bugs.webkit.org/show_bug.cgi?id=258029
rdar://110712618
Reviewed by Mike Wyrzykowski.
Expand the global variable rewriter to support call expressions with packed
values.
Calls work by unpacking all arguments, and their result is always unpacked.
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::pack):
(WGSL::RewriteGlobalVariables::getPacking):
* Source/WebGPU/WGSL/tests/valid/packing.wgsl:
Canonical link: https://commits.webkit.org/265151@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes