Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f82a0e1711d3a24faaba6302fd1541cbf52be03
      
https://github.com/WebKit/WebKit/commit/8f82a0e1711d3a24faaba6302fd1541cbf52be03
  Author: Tadeu Zagallo <[email protected]>
  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@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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to