Bug 212170 - OES_texture_half_float_linear unavailable on WebGL 1.0 on iOS with ANGLE
Summary: OES_texture_half_float_linear unavailable on WebGL 1.0 on iOS with ANGLE
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kenneth Russell
Keywords: InRadar
Depends on: 210524 212005
Blocks: 126404 212228
  Show dependency treegraph
Reported: 2020-05-20 15:08 PDT by Kenneth Russell
Modified: 2020-05-21 13:55 PDT (History)
7 users (show)

See Also:

Patch (7.46 KB, patch)
2020-05-20 17:09 PDT, Kenneth Russell
no flags Details | Formatted Diff | Diff
Patch (24.43 KB, patch)
2020-05-20 17:28 PDT, Kenneth Russell
dino: review+
kbr: commit-queue+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Russell 2020-05-20 15:08:58 PDT
The WebGL extension OES_texture_half_float_linear is unavailable on iOS (tested locally on the simulator) with WebKit's ANGLE backend for WebGL.

ANGLE isn't advertising this extension to OpenGL ES 2.0 contexts when it's using an OpenGL ES 3.0 context under the hood.

Once Bug 210524 is addressed and OES_texture_half_float is properly exposed, this must be fixed as well to avoid regressions.
Comment 1 Kenneth Russell 2020-05-20 17:09:31 PDT
Created attachment 399915 [details]
Comment 2 Kenneth Russell 2020-05-20 17:11:29 PDT
Attached is the needed patch to ANGLE. Not ready for review or EWS testing yet; it depends on the patch for Bug 210524 landing.

Have tested this minimally on the iOS Simulator; it makes the oes-texture-half-float-linear.html test pass, and the extension is actually enabled.
Comment 3 Kenneth Russell 2020-05-20 17:28:44 PDT
Created attachment 399918 [details]
Comment 4 EWS Watchlist 2020-05-20 17:29:32 PDT
Note that there are important steps to take when updating ANGLE. See http://trac.webkit.org/wiki/UpdatingANGLE
Comment 5 Dean Jackson 2020-05-20 17:35:29 PDT
Committed r261976: <https://trac.webkit.org/changeset/261976>
Comment 6 Radar WebKit Bug Importer 2020-05-20 17:36:15 PDT