Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c49e508c6e3f5fc1f557e88df625c6e2d23af986
https://github.com/WebKit/WebKit/commit/c49e508c6e3f5fc1f557e88df625c6e2d23af986
Author: Tadeu Zagallo <[email protected]>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
A Source/WebGPU/WGSL/tests/valid/fuzz-130082002.wgsl
Log Message:
-----------
[WGSL] Compound assignments incorrectly (un)pack the assignee
https://bugs.webkit.org/show_bug.cgi?id=275855
rdar://130082002
Reviewed by Mike Wyrzykowski.
The default behavior in the global rewriter is that all expressions get unpack,
any exceptions need to be handled manually, as we do for assignments. However,
the rewriter was missing an entry for compound assignments (e.g. x += y).
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::visit):
* Source/WebGPU/WGSL/tests/valid/fuzz-130082002.wgsl: Added.
Canonical link: https://commits.webkit.org/280371@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes