[webkit-changes] [WebKit/WebKit] e98141: [WGSL] Variable declaration should update concreti...

Tadeu Zagallo noreply at github.com
Wed Apr 12 15:44:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e981418600db89dc27d367e293c36e65dd2114eb
      https://github.com/WebKit/WebKit/commit/e981418600db89dc27d367e293c36e65dd2114eb
  Author: Tadeu Zagallo <tzagallo at apple.com>
  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




More information about the webkit-changes mailing list