[webkit-changes] [WebKit/WebKit] 4375e0: [WGSL] https://compute.toys/view/734 fails to compile

Tadeu Zagallo noreply at github.com
Thu Dec 28 05:03:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4375e00da390bbcac9db9ebdc4c28906faed9e9e
      https://github.com/WebKit/WebKit/commit/4375e00da390bbcac9db9ebdc4c28906faed9e9e
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-12-28 (Thu, 28 Dec 2023)

  Changed paths:
    M Source/WebGPU/WGSL/TypeCheck.cpp
    M Source/WebGPU/WGSL/tests/valid/aliases.wgsl

  Log Message:
  -----------
  [WGSL] https://compute.toys/view/734 fails to compile
https://bugs.webkit.org/show_bug.cgi?id=266638
rdar://119870669

Reviewed by Mike Wyrzykowski.

When using an alias for type conversion we need to update the target to the
resolved type.

* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):
* Source/WebGPU/WGSL/tests/valid/aliases.wgsl:

Canonical link: https://commits.webkit.org/272519@main




More information about the webkit-changes mailing list