[webkit-changes] [WebKit/WebKit] 6ef427: [WGSL] Missing type promotion for AbstractScalarType

Tadeu Zagallo noreply at github.com
Mon May 29 00:54:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6ef427c5fc10d06956c7f90869999a478638a0a1
      https://github.com/WebKit/WebKit/commit/6ef427c5fc10d06956c7f90869999a478638a0a1
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-05-29 (Mon, 29 May 2023)

  Changed paths:
    M Source/WebGPU/WGSL/Overload.cpp

  Log Message:
  -----------
  [WGSL] Missing type promotion for AbstractScalarType
https://bugs.webkit.org/show_bug.cgi?id=257380
rdar://109887993

Reviewed by Mike Wyrzykowski.

We currently have a duplicate implementation of Overload::materialize for type
variables. This duplication will be removed soon, but in the mean time we are
missing the promotion step to satisfy constraints in the type variable in one
of them.

* Source/WebGPU/WGSL/Overload.cpp:
(WGSL::OverloadResolver::materialize const):

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




More information about the webkit-changes mailing list