Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 776ed98f4d630cc6ac54d25cee46cee49a50af11
https://github.com/WebKit/WebKit/commit/776ed98f4d630cc6ac54d25cee46cee49a50af11
Author: Tadeu Zagallo <[email protected]>
Date: 2023-06-08 (Thu, 08 Jun 2023)
Changed paths:
M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
M Source/WebGPU/WGSL/tests/valid/packing.wgsl
Log Message:
-----------
[WGSL] Add support for field access with packed types
https://bugs.webkit.org/show_bug.cgi?id=257812
rdar://110406636
Reviewed by Dan Glastonbury.
Build onto PR#14736 and extend the support for packing/unpacking values
resulting
from field accesses into packed/unpacked types.
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::pack):
(WGSL::RewriteGlobalVariables::getPacking):
(WGSL::RewriteGlobalVariables::packingForType):
* Source/WebGPU/WGSL/tests/valid/packing.wgsl:
Canonical link: https://commits.webkit.org/264978@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes