| Summary: | REGRESSION (iOS 17): black screen when rendering to / reading from float buffer | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Roberto Ranon <roberto.ranon> |
| Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | dino, kbr, kkinnunen, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 17 | ||
|
Description
Roberto Ranon
2023-11-08 06:52:09 PST
Thank you for the report. Unfortunately iOS 16 advertises OES_texture_float_linear incorrectly. The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. Float textures are not filterable on iOS, and as such the rendering is not defined on iOS. The bug is fixed on iOS 17. The threejs example could be improved to check for the extension, and the extension check should fail on iOS 17. The example could show an error to the user. Alternatively filtering could be turned off. Currently the example has one dimension of the texture using GL_LINEAR. Half float textures work on iOS: https://registry.khronos.org/webgl/extensions/OES_texture_half_float/ *** This bug has been marked as a duplicate of bug 252359 *** |