[webkit-changes] [WebKit/WebKit] 76a4fd: [WebGPU] Support writing @builtin(frag_depth) from...
Tadeu Zagallo
noreply at github.com
Mon Oct 30 03:55:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 76a4fde7b09f29a5a20ac9045d978094ef37ac18
https://github.com/WebKit/WebKit/commit/76a4fde7b09f29a5a20ac9045d978094ef37ac18
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-10-30 (Mon, 30 Oct 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/tests/valid/fragment-output.wgsl
Log Message:
-----------
[WebGPU] Support writing @builtin(frag_depth) from the fragment shader
https://bugs.webkit.org/show_bug.cgi?id=252452
rdar://105578867
Reviewed by Mike Wyrzykowski.
During code generation we were skipping serialization of builtins for fragment
output struct members.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/tests/valid/fragment-output.wgsl:
Canonical link: https://commits.webkit.org/269929@main
More information about the webkit-changes
mailing list