WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
252729
[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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-02-21 23:36:36 PST
<
rdar://problem/105765900
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug