<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>214392</bug_id>
          
          <creation_ts>2020-07-15 19:48:00 -0700</creation_ts>
          <short_desc>[WebGL2] tex-srgb-mipmap test fails on macOS Intel + iOS (but passes on macOS Apple Silicon)</short_desc>
          <delta_ts>2021-09-06 04:37:14 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebGL</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=229955</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>223934</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dean Jackson">dino</reporter>
          <assigned_to name="Kimmo Kinnunen">kkinnunen</assigned_to>
          <cc>dino</cc>
    
    <cc>jdarpinian</cc>
    
    <cc>justin_fan</cc>
    
    <cc>kbr</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1672023</commentid>
    <comment_count>0</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2020-07-15 19:48:00 -0700</bug_when>
    <thetext>The test webgl/2.0.0/conformance2/textures/misc/tex-srgb-mipmap.html is failing on:

- macOS Intel (AMD) (didn&apos;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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1672024</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-07-15 19:48:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/65641438&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1672215</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-07-16 12:49:24 -0700</bug_when>
    <thetext>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&apos;t generated correctly.

I&apos;ve just filed:

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

about this.

Khronos&apos; 2.0.0 snapshot of this test also needs to be updated, and rolled forward in WebKit too.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>