[webkit-changes] [WebKit/WebKit] 11ca14: [WGSL] Add type declarations for clamp, min & max

Dan Glastonbury noreply at github.com
Thu Apr 6 16:19:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 11ca14835bd4a559301d59db63d1aab68dba2887
      https://github.com/WebKit/WebKit/commit/11ca14835bd4a559301d59db63d1aab68dba2887
  Author: Dan Glastonbury <djg at apple.com>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

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

  Log Message:
  -----------
  [WGSL] Add type declarations for clamp, min & max
https://bugs.webkit.org/show_bug.cgi?id=255119
rdar://problem/107728319

Reviewed by Tadeu Zagallo.

Add all the possible overloads for standard library functions clamp, min and
max.

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

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




More information about the webkit-changes mailing list