[webkit-changes] [WebKit/WebKit] 3adace: [WGSL] Add metal tests to all constructor functions

Tadeu Zagallo noreply at github.com
Tue Jan 9 04:03:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3adace0d1205b094d47816f25925f203f0b594c1
      https://github.com/WebKit/WebKit/commit/3adace0d1205b094d47816f25925f203f0b594c1
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

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

  Log Message:
  -----------
  [WGSL] Add metal tests to all constructor functions
https://bugs.webkit.org/show_bug.cgi?id=267223
rdar://120645281

Reviewed by Mike Wyrzykowski.

Update all constructor tests to cover both constant and runtime cases and fix a small
issue with codegen of array constructors.

* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:

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




More information about the webkit-changes mailing list