<?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>229989</bug_id>
          
          <creation_ts>2021-09-07 02:53:27 -0700</creation_ts>
          <short_desc>WebGL scissor drawing results have changed in iOS 15 beta</short_desc>
          <delta_ts>2022-04-14 02:03:09 -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>Safari Technology Preview</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=230618</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="Takuya Yamazaki">zproject.develop</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>gman</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>1790920</commentid>
    <comment_count>0</comment_count>
    <who name="Takuya Yamazaki">zproject.develop</who>
    <bug_when>2021-09-07 02:53:27 -0700</bug_when>
    <thetext>In WebGLRenderingContext.scissor(), the drawing result when width or height are set to 0 has changed from iOS15.

Until iOS14: Nothing is drawn
From iOS15: All drawn</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1791260</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2021-09-07 16:24:08 -0700</bug_when>
    <thetext>Sounds like a potential regression in</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1791261</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2021-09-07 16:24:42 -0700</bug_when>
    <thetext>(oops, didn&apos;t mean to press &quot;enter&quot;)

Sounds like a potential regression in ANGLE&apos;s Metal backend. Is this tested in the conformance suite?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1791874</commentid>
    <comment_count>3</comment_count>
      <attachid>437740</attachid>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-09-09 06:37:17 -0700</bug_when>
    <thetext>Created attachment 437740
test case to observe     gl.scissor(0,0,0,0); appers to work</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1791875</commentid>
    <comment_count>4</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-09-09 06:38:10 -0700</bug_when>
    <thetext>Cannot reproduce the problem with brief tests.
Takuya Yamazaki, would you be able to upload a reproduction test case for the problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1793242</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-14 02:54:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/83095006&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1799274</commentid>
    <comment_count>6</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-10-01 06:50:33 -0700</bug_when>
    <thetext>To the original reporter:
If you are using preserveDrawingBuffer: true, then you might try if setting that to false affects the result. If so, then this would be related to bug 230618</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861424</commentid>
    <comment_count>7</comment_count>
    <who name="Takuya Yamazaki">zproject.develop</who>
    <bug_when>2022-04-14 02:03:09 -0700</bug_when>
    <thetext>Sorry for the delay in confirming this.
This issue was fixed in at least iOS 15.4.
It was not fixed in iOS 15.2.
We are not aware of iOS 15.3.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>437740</attachid>
            <date>2021-09-09 06:37:17 -0700</date>
            <delta_ts>2021-09-09 06:37:17 -0700</delta_ts>
            <desc>test case to observe     gl.scissor(0,0,0,0); appers to work</desc>
            <filename>webgl-create.html</filename>
            <type>text/html</type>
            <size>385</size>
            <attacher name="Kimmo Kinnunen">kkinnunen</attacher>
            
              <data encoding="base64">PGJvZHk+CjxjYW52YXMgaWQ9ImMiPjwvY2FudmFzPgo8c2NyaXB0IHR5cGU9InRleHQvamF2YXNj
cmlwdCI+CnZhciBjID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImMiKTsKZG9jdW1lbnQub25j
bGljayA9IGZ1bmN0aW9uKCkgewogICAgdmFyIGdsID0gYy5nZXRDb250ZXh0KCJ3ZWJnbCIpOwog
ICAgZ2wuc2Npc3NvcigwLDAsMCwwKTsKICAgIGdsLmVuYWJsZShnbC5TQ0lTU09SX1RFU1QpOwog
ICAgZ2wuY2xlYXJDb2xvcigwLjAsIDEuMCwgMC4wLCAxLjApOwogICAgZ2wuY2xlYXIoZ2wuQ09M
T1JfQlVGRkVSX0JJVCk7CiAgICBjb25zb2xlLmxvZygiY2xlYXJlZCA6ICIgKyBnbC5nZXRQYXJh
bWV0ZXIoZ2wuQ09MT1JfQ0xFQVJfVkFMVUUpKTsKCn0KPC9zY3JpcHQ+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>