<?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>229182</bug_id>
          
          <creation_ts>2021-08-17 02:37:25 -0700</creation_ts>
          <short_desc>compressedTexSubImage2D does not return error when COMPRESSED_RGB_ETC1_WEBGL is used</short_desc>
          <delta_ts>2021-08-31 03:16:22 -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 Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=229180</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="Kimmo Kinnunen">kkinnunen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</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>1784773</commentid>
    <comment_count>0</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-08-17 02:37:25 -0700</bug_when>
    <thetext>compressedTexSubImage2D does return error when COMPRESSED_RGB_ETC1_WEBGL is used

Would have been easier to understand the behavior for the developer in bug 229180.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1784775</commentid>
    <comment_count>1</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-08-17 02:39:03 -0700</bug_when>
    <thetext>
WebGLRenderingContextBase::validateCompressedTexDimensions

  ...

    case ExtensionsGL::ETC1_RGB8_OES:
        // Not supported for ETC1_RGB8_OES textures.
        return false;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1784880</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2021-08-17 11:10:37 -0700</bug_when>
    <thetext>Changed summary: &quot;does&quot; -&gt; &quot;does not&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1786697</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-08-24 02:38:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/82283649&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1788849</commentid>
    <comment_count>4</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-08-31 03:16:22 -0700</bug_when>
    <thetext>In fact, the unreported error in validateCompressedTexSubDimensions is !USE(ANGLE) block. ANGLE does report INVALID_OPERATION and this should have been observable in the original report should I have understood to add a check for it. (Since it&apos;s from ANGLE and not a simulated error, it&apos;s not printed in the console).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>