<?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>221285</bug_id>
          
          <creation_ts>2021-02-02 12:42:39 -0800</creation_ts>
          <short_desc>[WebGL2] UNORM_INT8 deqp regressions</short_desc>
          <delta_ts>2021-02-09 12:43:13 -0800</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>NEW</bug_status>
          <resolution></resolution>
          
          
          <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>
          
          <blocked>126404</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jon Lee">jonlee</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>geofflang</cc>
    
    <cc>jonahr</cc>
    
    <cc>kbr</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>kpiddington</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1724824</commentid>
    <comment_count>0</comment_count>
    <who name="Jon Lee">jonlee</who>
    <bug_when>2021-02-02 12:42:39 -0800</bug_when>
    <thetext>It appears some deqp tests that were fully passing are now regressed:
https://build.webkit.org/results/Apple-Catalina-Release-WK2-WebGL-Tests/r272207%20(929)/results.html

webgl/2.0.0/deqp/functional/gles3/fboinvalidate/format_02.html
webgl/2.0.0/deqp/functional/gles3/shaderbuiltinvar.html
webgl/2.0.0/deqp/functional/gles3/texturespecification/basic_copyteximage2d.html
webgl/2.0.0/deqp/functional/gles3/texturespecification/teximage3d_pbo_params.html
webgl/2.0.0/deqp/functional/gles3/texturespecification/teximage3d_unpack_params.html
webgl/2.0.0/deqp/functional/gles3/texturespecification/texsubimage3d_pbo_params.html
webgl/2.0.0/deqp/functional/gles3/texturespecification/texsubimage3d_unpack_params.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1725342</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2021-02-03 14:54:09 -0800</bug_when>
    <thetext>Is there any indication of when these regressions crept in?

Looking at:
https://build.webkit.org/results/Apple-Catalina-Release-WK2-WebGL-Tests/

they were happening in the oldest build listed:
https://build.webkit.org/results/Apple-Catalina-Release-WK2-WebGL-Tests/r269290%20%28442%29/

but I&apos;m not sure how old that build is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1725343</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2021-02-03 14:55:09 -0800</bug_when>
    <thetext>Also - are these failures happening on all bots or just this one?

What&apos;s the graphics hardware / machine model of this bot?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1725917</commentid>
    <comment_count>3</comment_count>
    <who name="Jon Lee">jonlee</who>
    <bug_when>2021-02-04 19:29:15 -0800</bug_when>
    <thetext>(In reply to Kenneth Russell from comment #2)
&gt; Also - are these failures happening on all bots or just this one?
&gt; 
&gt; What&apos;s the graphics hardware / machine model of this bot?

According to https://build.webkit.org/buildslaves/bot302 it is an iMac16,2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1725943</commentid>
    <comment_count>4</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2021-02-04 22:11:34 -0800</bug_when>
    <thetext>It looks like something&apos;s broken with respect to UNORM_INT8 textures on Intel GPUs specifically. This fails on my 15&quot; MacBook Pro with Intel HD 630 / AMD Radeon Pro 560 GPUs when the Intel GPU is active, but when the AMD GPU is forcibly enabled the tests pass.

Here&apos;s output from one case of webgl/2.0.0/deqp/functional/gles3/texturespecification/basic_copyteximage2d.html :

-----
Start testcase: specification.basic_copyteximage2d.cube_rgba
Fuzzy image comparison failed: difference = 6210.855652530553, threshold = 0.02
Result 
 BufferAccess(format: TextureFormat(RGBA, UNORM_INT8), width: 64, height: 64)
 
Reference 
 BufferAccess(format: TextureFormat(RGBA, UNORM_INT8), width: 64, height: 64)
 
Error error mask
 BufferAccess(format: TextureFormat(RGB, UNORM_INT8), width: 64, height: 64)
 
FAIL specification.basic_copyteximage2d.cube_rgba: Image comparison failed
FAIL specification.basic_copyteximage2d.cube_rgba: Verification failed
-----

These tests fail in Chrome on top of ANGLE, too. They pass on Chrome&apos;s old &quot;validating&quot; command decoder, but I&apos;m not sure what OpenGL driver bug workaround, if any, is allowing these tests to pass on Intel GPUs. That workaround could be brought into ANGLE - or we could wait for and switch over to ANGLE&apos;s Metal backend.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1727183</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-09 12:43:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/74154351&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>