[webkit-changes] [WebKit/WebKit] 6c82c6: [WGSL] Implement built-in function textureSampleBa...
Tadeu Zagallo
noreply at github.com
Wed May 17 02:52:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6c82c6b0b1521fef0e4f7cd0136f7f2d11ac1f20
https://github.com/WebKit/WebKit/commit/6c82c6b0b1521fef0e4f7cd0136f7f2d11ac1f20
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-05-17 (Wed, 17 May 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/TypeDeclarations.rb
Log Message:
-----------
[WGSL] Implement built-in function textureSampleBaseClampToEdge
https://bugs.webkit.org/show_bug.cgi?id=256724
rdar://109273173
Reviewed by Mike Wyrzykowski.
Implement `textureSampleBaseClampToEdge` which expands into two samples when
sampling a `texture_external`.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::indent):
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/TypeDeclarations.rb:
Canonical link: https://commits.webkit.org/264141@main
More information about the webkit-changes
mailing list