Bug 214392 - [WebGL2] tex-srgb-mipmap test fails on macOS Intel + iOS (but passes on macOS Apple Silicon)
Summary: [WebGL2] tex-srgb-mipmap test fails on macOS Intel + iOS (but passes on macOS...
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on: 223934
Blocks:
  Show dependency treegraph
 
Reported: 2020-07-15 19:48 PDT by Dean Jackson
Modified: 2021-09-06 04:37 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Jackson 2020-07-15 19:48:00 PDT
The test webgl/2.0.0/conformance2/textures/misc/tex-srgb-mipmap.html is failing on:

- macOS Intel (AMD) (didn't check Intel)
- iOS (hardware)

But passing on:

- macOS Apple Silicon

It also has different results on iOS Simulator (still failing, just different pixel colour values)
Comment 1 Radar WebKit Bug Importer 2020-07-15 19:48:15 PDT
<rdar://problem/65641438>
Comment 2 Kenneth Russell 2020-07-16 12:49:24 PDT
Comparing the results of the 2.0.0 snapshot:
https://www.khronos.org/registry/webgl/conformance-suites/2.0.0/conformance2/textures/misc/tex-srgb-mipmap.html

to top-of-tree:
https://www.khronos.org/registry/webgl/sdk/tests/conformance2/textures/misc/tex-srgb-mipmap.html

the 2.0.0 version fails in Chrome Canary on macOS but the top-of-tree version passes.

If I remember correctly, Intel contributed this test and workarounds for driver bugs where mipmaps for sRGB textures weren't generated correctly.

I've just filed:

Workarounds for sRGB mipmap generation needed on macOS
https://bugs.chromium.org/p/angleproject/issues/detail?id=4848

about this.

Khronos' 2.0.0 snapshot of this test also needs to be updated, and rolled forward in WebKit too.