NEW252729
[WebGPU][WGSL] @builtin(frag_depth) should be clamped to viewport z-bounds
https://bugs.webkit.org/show_bug.cgi?id=252729
Summary [WebGPU][WGSL] @builtin(frag_depth) should be clamped to viewport z-bounds
Mike Wyrzykowski
Reported 2023-02-21 23:36:16 PST
If the shader writes to @builtin(frag_depth) then the generated metal source should clamp the write to the z-bounds of the viewport if the depth clip mode is MTLDepthClipModeClamp
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-21 23:36:36 PST
Note You need to log in before you can comment on or make changes to this bug.