<?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>223353</bug_id>
          
          <creation_ts>2021-03-17 00:40:45 -0700</creation_ts>
          <short_desc>webgl/2.0.y/conformance2/textures/misc/copy-texture-image.html fails</short_desc>
          <delta_ts>2021-09-07 04:40:47 -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>Other</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>222812</blocked>
          <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>1740470</commentid>
    <comment_count>0</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-03-17 00:40:45 -0700</bug_when>
    <thetext>webgl/2.0.1/conformance2/textures/misc/copy-texture-image.html fails</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1740493</commentid>
    <comment_count>1</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-03-17 00:58:01 -0700</bug_when>
    <thetext>https://www.khronos.org/registry/webgl/sdk/tests/conformance2/textures/misc/copy-texture-image.html?webglVersion=2&amp;quiet=0&amp;quick=1

This test verifies the functionality of copyTexImage2D.

On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.


PASS WebGL context exists
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA=&gt;RGB
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA8=&gt;RGB
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA=&gt;RGBA
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA8=&gt;RGBA
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA=&gt;LUMINANCE_ALPHA
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA8=&gt;LUMINANCE_ALPHA
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA=&gt;LUMINANCE
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA8=&gt;LUMINANCE
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA=&gt;ALPHA
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA8=&gt;ALPHA
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA=&gt;R8
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA8=&gt;R8
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA=&gt;RG8
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA8=&gt;RG8
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA=&gt;RGB8
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA8=&gt;RGB8
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA=&gt;RGBA8
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA8=&gt;RGBA8
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes  RGBA8=&gt;RGB565
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes  RGBA8=&gt;RGBA4
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes  RGBA8=&gt;RGB5_A1
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes  RGBA8=&gt;RGB10_A2
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat SRGB8_ALPHA8=&gt;SRGB8
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat SRGB8_ALPHA8=&gt;SRGB8_ALPHA8
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA32I=&gt;R32I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA32I=&gt;RG32I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA32I=&gt;RGB32I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA32I=&gt;RGBA32I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=&gt;R8I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=&gt;R16I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=&gt;RG8I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=&gt;RG16I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=&gt;RGB8I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=&gt;RGB16I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=&gt;RGBA8I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=&gt;RGBA16I
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA32UI=&gt;R32UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA32UI=&gt;RG32UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA32UI=&gt;RGB32UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for good internalformat RGBA32UI=&gt;RGBA32UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=&gt;R8UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=&gt;R16UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=&gt;RG8UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=&gt;RG16UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=&gt;RGB10_A2UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=&gt;RGB8UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=&gt;RGB16UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=&gt;RGBA8UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=&gt;RGBA16UI
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
FAIL getError expected: INVALID_ENUM. Was INVALID_OPERATION : copyTexImage2D should fail for snorm internalformat RGBA8=&gt;R8_SNORM
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
FAIL getError expected: INVALID_ENUM. Was INVALID_OPERATION : copyTexImage2D should fail for snorm internalformat RGBA8=&gt;RG8_SNORM
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
FAIL getError expected: INVALID_ENUM. Was INVALID_OPERATION : copyTexImage2D should fail for snorm internalformat RGBA8=&gt;RGB8_SNORM
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
FAIL getError expected: INVALID_ENUM. Was INVALID_OPERATION : copyTexImage2D should fail for snorm internalformat RGBA8=&gt;RGBA8_SNORM
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for float16 internalformat RGBA16F=&gt;R16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for float16 internalformat RGBA16F=&gt;RG16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for float16 internalformat RGBA16F=&gt;RGB16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for float16 internalformat RGBA16F=&gt;RGBA16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for float32 internalformat RGBA32F=&gt;R32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for float32 internalformat RGBA32F=&gt;RG32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for float32 internalformat RGBA32F=&gt;RGB32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for float32 internalformat RGBA32F=&gt;RGBA32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: NO_ERROR : copyTexImage2D should succeed for R11F_G11F_B10F internalformat R11F_G11F_B10F=&gt;R11F_G11F_B10F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-float16 internalformat (unmatched component sizes) RGBA16F=&gt;R32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-float16 internalformat (unmatched component sizes) RGBA16F=&gt;RG32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-float16 internalformat (unmatched component sizes) RGBA16F=&gt;RGB32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-float16 internalformat (unmatched component sizes) RGBA16F=&gt;RGBA32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-float16 internalformat (unmatched component sizes) RGBA16F=&gt;R11F_G11F_B10F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-float32 internalformat (unmatched component sizes) RGBA32F=&gt;R16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-float32 internalformat (unmatched component sizes) RGBA32F=&gt;RG16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-float32 internalformat (unmatched component sizes) RGBA32F=&gt;RGB16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-float32 internalformat (unmatched component sizes) RGBA32F=&gt;RGBA16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-float32 internalformat (unmatched component sizes) RGBA32F=&gt;R11F_G11F_B10F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-R11F_G11F_B10F internalformat (unmatched component sizes) R11F_G11F_B10F=&gt;R16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-R11F_G11F_B10F internalformat (unmatched component sizes) R11F_G11F_B10F=&gt;RG16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-R11F_G11F_B10F internalformat (unmatched component sizes) R11F_G11F_B10F=&gt;RGB16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-R11F_G11F_B10F internalformat (unmatched component sizes) R11F_G11F_B10F=&gt;RGBA16F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-R11F_G11F_B10F internalformat (unmatched component sizes) R11F_G11F_B10F=&gt;R32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-R11F_G11F_B10F internalformat (unmatched component sizes) R11F_G11F_B10F=&gt;RG32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-R11F_G11F_B10F internalformat (unmatched component sizes) R11F_G11F_B10F=&gt;RGB32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was expected value: INVALID_OPERATION : copyTexImage2D should fail for non-R11F_G11F_B10F internalformat (unmatched component sizes) R11F_G11F_B10F=&gt;RGBA32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was one of: INVALID_ENUM or INVALID_OPERATION : copyTexImage2D should fail for depth internalformat DEPTH24_STENCIL8=&gt;DEPTH_COMPONENT16
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was one of: INVALID_ENUM or INVALID_OPERATION : copyTexImage2D should fail for depth internalformat DEPTH24_STENCIL8=&gt;DEPTH_COMPONENT24
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was one of: INVALID_ENUM or INVALID_OPERATION : copyTexImage2D should fail for depth internalformat DEPTH24_STENCIL8=&gt;DEPTH_COMPONENT32F
PASS checkFramebufferStatus got FRAMEBUFFER_COMPLETE as expected
PASS getError was one of: INVALID_ENUM or INVALID_OPERATION : copyTexImage2D should fail for depth internalformat DEPTH24_STENCIL8=&gt;DEPTH24_STENCIL8
PASS successfullyParsed is true

TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1740590</commentid>
    <comment_count>2</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-03-17 01:45:49 -0700</bug_when>
    <thetext>At least macOS 11.3, iMacPro1,1, Radeon Pro Vega 56</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1743199</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-03-24 00:41:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/75774357&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790131</commentid>
    <comment_count>4</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-09-03 06:11:31 -0700</bug_when>
    <thetext>*** Bug 223354 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>