Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9c6ee0f8bb9311052934ad81e2e5f5f044d42fed
https://github.com/WebKit/WebKit/commit/9c6ee0f8bb9311052934ad81e2e5f5f044d42fed
Author: Tadeu Zagallo <[email protected]>
Date: 2024-04-03 (Wed, 03 Apr 2024)
Changed paths:
M Source/WebGPU/WGSL/PointerRewriter.cpp
M Source/WebGPU/WGSL/tests/valid/array-length.wgsl
M Source/WebGPU/WGSL/wgslc.cpp
Log Message:
-----------
[WGSL] Pointer rewriter should visit phony assignment
https://bugs.webkit.org/show_bug.cgi?id=272035
rdar://125618287
Reviewed by Mike Wyrzykowski.
The pointer rewriter needs to delete phony assignments when the right-hand side
is a pointer, but it fails to visit the assignment when it's not a pointer. I
also
fixed a compilation error in wgslc due to some recent refactoring to use
std::span.
* Source/WebGPU/WGSL/PointerRewriter.cpp:
(WGSL::PointerRewriter::visit):
* Source/WebGPU/WGSL/tests/valid/array-length.wgsl:
* Source/WebGPU/WGSL/wgslc.cpp:
(runWGSL):
Canonical link: https://commits.webkit.org/277005@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