Bug 218595 - Allow non-power-of-two mipmapped compressed textures with WEBGL_compressed_texture_s3tc
Summary: Allow non-power-of-two mipmapped compressed textures with WEBGL_compressed_te...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-11-04 16:52 PST by Kenneth Russell
Modified: 2020-11-09 11:47 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Russell 2020-11-04 16:52:24 PST
In https://github.com/KhronosGroup/WebGL/issues/3117 the implementation of the WEBGL_compressed_texture_s3tc extension in Chromium has been revised to align better with the underlying specifications. Specifically, limited non-power-of-two support has been added, which is portable among all WebGL backends as far back as D3D9.

The test case in related https://github.com/BinomialLLC/basis_universal/issues/158 , http://ahyoomee.miru.hk/basis/demo/threejs.html , is now running correctly in Chrome and Safari, but has regressed in Safari Technology Preview and the ANGLE backend.

The validation of these compressed texture formats needs to be relaxed in order to allow this content to run portably.
Comment 1 Kenneth Russell 2020-11-06 17:40:42 PST
Note that with geofflang's fix in https://bugs.chromium.org/p/angleproject/issues/detail?id=4841 , it's possible that another ANGLE roll into WebKit might implicitly fix this bug.
Comment 2 Radar WebKit Bug Importer 2020-11-09 11:47:31 PST
<rdar://problem/71202732>