Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e981418600db89dc27d367e293c36e65dd2114eb
https://github.com/WebKit/WebKit/commit/e981418600db89dc27d367e293c36e65dd2114eb
Author: Tadeu Zagallo <[email protected]>
Date: 2023-04-12 (Wed, 12 Apr 2023)
Changed paths:
M Source/WebGPU/WGSL/TypeCheck.cpp
M Source/WebGPU/WGSL/tests/valid/concretization.wgsl
Log Message:
-----------
[WGSL] Variable declaration should update concretized types
https://bugs.webkit.org/show_bug.cgi?id=255117
rdar://107726803
Reviewed by Dean Jackson.
Variable declarations might result in concretization of initializers, in which
case the initializer's type must be updated to reflect it.
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):
Canonical link: https://commits.webkit.org/262890@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes