[webkit-changes] [WebKit/WebKit] d65248: [WGSL] Add code generation for textureSampleCompare
Tadeu Zagallo
noreply at github.com
Mon Oct 2 01:45:26 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d65248aa5c753da56ad0c0e0028e4c4cddd5c1f4
https://github.com/WebKit/WebKit/commit/d65248aa5c753da56ad0c0e0028e4c4cddd5c1f4
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-10-02 (Mon, 02 Oct 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/tests/valid/overload.wgsl
Log Message:
-----------
[WGSL] Add code generation for textureSampleCompare
https://bugs.webkit.org/show_bug.cgi?id=262386
rdar://116247210
Reviewed by Mike Wyrzykowski.
Add the Metal generator that converts `textureSampleCompare(t, ...)` into `t.sample_compare(...)`
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
(WGSL::Metal::emitTextureSampleCompare):
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:
Canonical link: https://commits.webkit.org/268719@main
More information about the webkit-changes
mailing list