Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4bd6398850757a1e38bc2ecb584bf15d88b38c41
https://github.com/WebKit/WebKit/commit/4bd6398850757a1e38bc2ecb584bf15d88b38c41
Author: Mike Wyrzykowski <[email protected]>
Date: 2026-07-28 (Tue, 28 Jul 2026)
Changed paths:
M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
M Tools/TestWebKitAPI/Tests/WGSL/MetalCompilationTests.mm
Log Message:
-----------
Wgsl misscompilation `error: no member named 'xyz' in 'PackedVec3<float>'`
(320443)
https://bugs.webkit.org/show_bug.cgi?id=320443
rdar://183426431
Reviewed by Tadeu Zagallo.
Indexing a packed matrix yields a packed vector, but we were
assuming it would yield an unpacked vector resulting in compilation
errors.
Test: Tools/TestWebKitAPI/Tests/WGSL/MetalCompilationTests.mm
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::getPacking):
* Tools/TestWebKitAPI/Tests/WGSL/MetalCompilationTests.mm:
(TestWGSLAPI::TEST_F(WGSLMetalCompilationTests, Packing)):
Canonical link: https://commits.webkit.org/318098@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications