[webkit-changes] [WebKit/WebKit] 776ed9: [WGSL] Add support for field access with packed types
Tadeu Zagallo
noreply at github.com
Thu Jun 8 02:39:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 776ed98f4d630cc6ac54d25cee46cee49a50af11
https://github.com/WebKit/WebKit/commit/776ed98f4d630cc6ac54d25cee46cee49a50af11
Author: Tadeu Zagallo <tzagallo at apple.com>
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
More information about the webkit-changes
mailing list