Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: a3b1e68032f3396cc6667831d984d628dbd35b8e https://github.com/WebKit/WebKit/commit/a3b1e68032f3396cc6667831d984d628dbd35b8e Author: Tadeu Zagallo <tzaga...@apple.com> Date: 2024-11-12 (Tue, 12 Nov 2024)
Changed paths: M Source/WebGPU/WGSL/AST/ASTExpression.h M Source/WebGPU/WGSL/PointerRewriter.cpp A Source/WebGPU/WGSL/tests/valid/pointer-rewriting-concrete-type.wgsl Log Message: ----------- [WGSL] Pointer rewriting should preserve inferred types https://bugs.webkit.org/show_bug.cgi?id=282931 rdar://139647710 Reviewed by Dan Glastonbury. When replacing `*&x` with `x` we need to update the type of `x`, since that might have been concretized during type checking. * Source/WebGPU/WGSL/AST/ASTExpression.h: * Source/WebGPU/WGSL/PointerRewriter.cpp: (WGSL::PointerRewriter::visit): * Source/WebGPU/WGSL/tests/valid/pointer-rewriting-concrete-type.wgsl: Added. Canonical link: https://commits.webkit.org/286478@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