Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 20a06e254bc94121f60dba1db7a4bed90380890d
https://github.com/WebKit/WebKit/commit/20a06e254bc94121f60dba1db7a4bed90380890d
Author: Tadeu Zagallo <[email protected]>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
Log Message:
-----------
[WGSL] Don't compute size and alignment for structs that shouldn't be packed
https://bugs.webkit.org/show_bug.cgi?id=257122
rdar://109658987
Reviewed by Dan Glastonbury.
Structs that shouldn't be packed might contain types for which we don't compute
size and alignment, so we shouldn't try to compute it.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
Canonical link: https://commits.webkit.org/264406@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes