[webkit-changes] [WebKit/WebKit] ccb4ec: [WGSL] Fix type declaration for vector type conver...
Tadeu Zagallo
noreply at github.com
Mon May 15 17:21:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ccb4ec32c21cb2079dca3d1840e0bc2a6e599459
https://github.com/WebKit/WebKit/commit/ccb4ec32c21cb2079dca3d1840e0bc2a6e599459
Author: Tadeu Zagallo <tzagallo at apple.com>
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
More information about the webkit-changes
mailing list