Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 88ce5a35673023f55e9d057ee29614583476aa55
https://github.com/WebKit/WebKit/commit/88ce5a35673023f55e9d057ee29614583476aa55
Author: Tadeu Zagallo <[email protected]>
Date: 2023-06-13 (Tue, 13 Jun 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/tests/valid/struct.wgsl
Log Message:
-----------
[WGSL] size and align attributes should not generate code
https://bugs.webkit.org/show_bug.cgi?id=257901
rdar://110539602
Reviewed by Dan Glastonbury.
The default visitor would cause the value of those attributes to be printed,
which result in invalid metal code. To fix it we simply have to override the
visitor with a no-op implementation.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
Canonical link: https://commits.webkit.org/265110@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes