Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 32ff5579026f4b0796e3d5ac473a9a7b316e3067 https://github.com/WebKit/WebKit/commit/32ff5579026f4b0796e3d5ac473a9a7b316e3067 Author: Mike Wyrzykowski <mwyrzykow...@apple.com> Date: 2024-11-14 (Thu, 14 Nov 2024)
Changed paths: A LayoutTests/fast/webgpu/nocrash/fuzz-283071-expected.txt A LayoutTests/fast/webgpu/nocrash/fuzz-283071.html M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp Log Message: ----------- [WebGPU] Unused external textures result in struct size mismatches https://bugs.webkit.org/show_bug.cgi?id=283071 rdar://139732445 Reviewed by Tadeu Zagallo. In order to be able to place an unused texture_external instance directly inside a struct, we need to pack it to single byte alignment otherwise there is a size mismatch compared to a used texture_external which has its members placed inline within the AB. * LayoutTests/fast/webgpu/nocrash/fuzz-283071-expected.txt: Added. * LayoutTests/fast/webgpu/nocrash/fuzz-283071.html: Added. Add regression test. * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp: (WGSL::Metal::FunctionDefinitionWriter::emitNecessaryHelpers): Canonical link: https://commits.webkit.org/286594@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes