[webkit-changes] [WebKit/WebKit] ca8455: [WGSL] Implement all logical operators

Tadeu Zagallo noreply at github.com
Thu May 18 23:52:58 PDT 2023


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

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

  Log Message:
  -----------
  [WGSL] Implement all logical operators
https://bugs.webkit.org/show_bug.cgi?id=256963
rdar://109515188

Reviewed by Dan Glastonbury.

Implement logical operators (or logical expression) according to the spec[1].

[1]: https://gpuweb.github.io/gpuweb/wgsl/#logical-expr

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

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




More information about the webkit-changes mailing list