[webkit-changes] [WebKit/WebKit] 8f82a0: [WGSL] Add tests for bitwise operators and fix com...

Tadeu Zagallo noreply at github.com
Wed Nov 15 02:16:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f82a0e1711d3a24faaba6302fd1541cbf52be03
      https://github.com/WebKit/WebKit/commit/8f82a0e1711d3a24faaba6302fd1541cbf52be03
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

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

  Log Message:
  -----------
  [WGSL] Add tests for bitwise operators and fix compound assignment
https://bugs.webkit.org/show_bug.cgi?id=264832
rdar://118408447

Reviewed by Mike Wyrzykowski.

Modify the existing tests to also be run through the Metal compiler, and expand the
tests to cover both constant and runtime operations. In the process the tests also
showed that I broke compound assignment in 270641 at main, so I fixed that.

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

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




More information about the webkit-changes mailing list