[webkit-changes] [WebKit/WebKit] 7d1f6a: [WGSL] Fix overload test

Tadeu Zagallo noreply at github.com
Fri Mar 31 02:12:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7d1f6adbb1f27bf1d46027ef6bbd6e671827f9c6
      https://github.com/WebKit/WebKit/commit/7d1f6adbb1f27bf1d46027ef6bbd6e671827f9c6
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M Source/WebGPU/WGSL/tests/valid/overload.wgsl

  Log Message:
  -----------
  [WGSL] Fix overload test
https://bugs.webkit.org/show_bug.cgi?id=254746
rdar://107424282

Reviewed by Myles C. Maxfield.

The test was originally created with a mistake (initializing a mat2x4 with only
4 values), but at the time the type checker didn't catch since we weren't validating
arguments of construtors with explicit type arguments (i.e. mat2x4<f32> in this case).
That was fixed in 262325 at main, but I forgot to update the test.

* Source/WebGPU/WGSL/tests/valid/overload.wgsl:

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




More information about the webkit-changes mailing list