Bug 252729

Summary: [WebGPU][WGSL] @builtin(frag_depth) should be clamped to viewport z-bounds
Product: WebKit Reporter: Mike Wyrzykowski <mwyrzykowski>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.