<?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>205627</bug_id>
          
          <creation_ts>2019-12-28 23:20:04 -0800</creation_ts>
          <short_desc>REGRESSION (r253926): fast/canvas/webgl/array-bounds-clamping.html fails</short_desc>
          <delta_ts>2020-02-12 11:42:43 -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 Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=205483</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="James Darpinian">jdarpinian</assigned_to>
          <cc>dino</cc>
    
    <cc>jdarpinian</cc>
    
    <cc>kbr</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1601746</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-12-28 23:20:04 -0800</bug_when>
    <thetext>fast/canvas/webgl/array-bounds-clamping.html started to fail after switching to ANGLE in r253926

It got marked as expected failure in this revision for WebKit1, but not for WebKit2, so it now shows up as a failure on bots.

https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fcanvas%2Fwebgl%2Farray-bounds-clamping.html

The failure is hardware specific - the test still passes on many Mac models. I didn&apos;t check very carefully, seems to be passing on AMD and failing on Intel or Nvidia.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1601747</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-12-28 23:20:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/58229090&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1601931</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2019-12-30 13:09:17 -0800</bug_when>
    <thetext>Possible to temporarily mark the expected failure so that r253926 isn&apos;t rolled back? Might be an option that needs to be passed to ANGLE&apos;s internal instance of its shader compiler.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1602383</commentid>
    <comment_count>3</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2020-01-03 02:27:45 -0800</bug_when>
    <thetext>This was a tricky test to get right - I think it might be incorrect.

Our non-ANGLE code passed SH_CLAMP_INDIRECT_ARRAY_BOUNDS into the shader configuration (see Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE)

I don&apos;t see a way to do this from the EGL API, but maybe it isn&apos;t necessary? Does Chrome use this option on Apple hardware?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1602533</commentid>
    <comment_count>4</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-01-03 11:34:42 -0800</bug_when>
    <thetext>It seems likely that ANGLE&apos;s use of this workaround needs to be expanded. Currently it looks like it&apos;s only enabled on Android and AMD hardware. May need to be done always on Mac.

https://source.chromium.org/chromium/chromium/src/+/master:third_party/angle/src/libANGLE/renderer/gl/renderergl_utils.cpp;l=1596;drc=34fdc18ec806aa05ed2029d723c31de0d141a742;bpv=1;bpt=1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612261</commentid>
    <comment_count>5</comment_count>
    <who name="James Darpinian">jdarpinian</who>
    <bug_when>2020-01-28 16:52:11 -0800</bug_when>
    <thetext>The workaround was enabled upstream, so this will be fixed in the next ANGLE roll.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618143</commentid>
    <comment_count>6</comment_count>
    <who name="James Darpinian">jdarpinian</who>
    <bug_when>2020-02-12 11:42:43 -0800</bug_when>
    <thetext>ANGLE was updated in r255782</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>