Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ccb4ec32c21cb2079dca3d1840e0bc2a6e599459
      
https://github.com/WebKit/WebKit/commit/ccb4ec32c21cb2079dca3d1840e0bc2a6e599459
  Author: Tadeu Zagallo <[email protected]>
  Date:   2023-05-15 (Mon, 15 May 2023)

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

  Log Message:
  -----------
  [WGSL] Fix type declaration for vector type conversion
https://bugs.webkit.org/show_bug.cgi?id=256783
rdar://109351633

Reviewed by Myles C. Maxfield and Dan Glastonbury.

The type variable that is only used in the return type, and therefore can't be
inferred, has to be the first type argument so it can explicitly provided when
calling the function while still inferring the second type variable.

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

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


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

Reply via email to