Summary: | Writing gl_FragDepth without depth attachment disables color writes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ashley Gullen <ashley> |
Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | ap, dino, kbr, kkinnunen, kpiddington, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 15 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Ashley Gullen
2022-01-03 08:59:53 PST
> Minimal repro: https://downloads.scirra.com/labs/bugs/webglfragdepth/
Is a red/grey checkerboard a pass or a failure on this test? If it’s a pass, this may be fixed on trunk already.
The correct rendering should match this sample: http://webglsamples.org/WebGL2Samples/#fbo_blit i.e. if you see a red background with some images, it works. When it does not work, it's just a black screen with some text at the top. Thank you. I'm getting black screen with some text at the top on STP 137; and a checkerboard without images on the iOS build that I have installed. So this doesn't appear to be fixed yet. Thanks for reporting this; it's a bug in ANGLE's Metal backend. I've filed it upstream against ANGLE as: Metal: Writing gl_FragDepth without depth attachment disables color writes https://bugs.chromium.org/p/angleproject/issues/detail?id=6865 We can perhaps prototype a fix in WebKit's copy of ANGLE, but ideally it'll be fixed upstream and just rolled into WebKit to avoid merge conflicts. The corresponding ANGLE issue is marked fixed, but the issue still reproduces in Safari 15.4 and TP 142. When is it supposed to be fixed? |