Bug 252729
| Summary: | [WebGPU][WGSL] @builtin(frag_depth) should be clamped to viewport z-bounds | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mike Wyrzykowski <mwyrzykowski> |
| Component: | WebGPU | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105765900>