<?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>229934</bug_id>
          
          <creation_ts>2021-09-06 01:15:41 -0700</creation_ts>
          <short_desc>webgl/1.0.x/conformance/extensions/webgl-depth-texture.html fails on AS</short_desc>
          <delta_ts>2021-09-13 01:16:21 -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>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>1790630</commentid>
    <comment_count>0</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-09-06 01:15:41 -0700</bug_when>
    <thetext>webgl/1.0.x/conformance/extensions/webgl-depth-texture.html fails on AS

testing LINEAR filtering
PASS getError was expected value: INVALID_OPERATION : after evaluating: gl.texImage2D(gl.TEXTURE_2D, 1, gl.DEPTH_COMPONENT, 1, 1, 0, gl.DEPTH_COMPONENT, gl.UNSIGNED_SHORT, null)
PASS getError was expected value: INVALID_OPERATION : after evaluating: gl.texImage2D(gl.TEXTURE_2D, 0, gl.DEPTH_COMPONENT, 1, 1, 0, gl.DEPTH_COMPONENT, gl.UNSIGNED_SHORT, new Uint16Array(1))
PASS getError was one of: INVALID_VALUE or INVALID_ENUM or INVALID_OPERATION : after evaluating: gl.texImage2D(gl.TEXTURE_2D, 0, gl.DEPTH_COMPONENT, gl.DEPTH_COMPONENT, gl.UNSIGNED_SHORT, canvas2)
PASS getError was one of: INVALID_ENUM or INVALID_OPERATION : after evaluating: gl.copyTexImage2D(gl.TEXTURE_2D, 0, gl.DEPTH_COMPONENT, 0, 0, 1, 1, 0)
PASS getError was expected value: NO_ERROR : after evaluating: gl.texImage2D(gl.TEXTURE_2D, 0, gl.DEPTH_COMPONENT, 2, 2, 0, gl.DEPTH_COMPONENT, gl.UNSIGNED_SHORT, null)
PASS getError was expected value: INVALID_OPERATION : after evaluating: gl.texSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 1, 1, gl.DEPTH_COMPONENT, gl.UNSIGNED_SHORT, new Uint16Array(1))
PASS getError was expected value: INVALID_OPERATION : after evaluating: gl.copyTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 0, 0, 1, 1)
PASS getError was expected value: INVALID_OPERATION : after evaluating: gl.generateMipmap(gl.TEXTURE_2D)
PASS gl.getParameter(gl.DEPTH_BITS) is &gt;= 16
PASS gl.getParameter(gl.STENCIL_BITS) is 0
PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE
PASS At 0,0, expected within [0.198000000000000,0.202000000000000], was 0.200000000000000
FAIL At 1,0, expected within [0.200000000000000,0.600000000000000], was 0.200000000000000 min
FAIL At 2,0, expected within [0.200000000000000,0.600000000000000], was 0.600000000000000 max
PASS At 3,0, expected within [0.598000000000000,0.602000000000000], was 0.600000000000000
FAIL At 0,1, expected within [0.200000000000000,0.400000000000000], was 0.200000000000000 min
FAIL At 1,1, expected within [0.200000000000000,0.800000000000000], was 0.200000000000000 min
PASS At 2,1, expected within [0.200000000000000,0.800000000000000], was 0.600000000000000
FAIL At 3,1, expected within [0.600000000000000,0.800000000000000], was 0.600000000000000 min
FAIL At 0,2, expected within [0.200000000000000,0.400000000000000], was 0.400000000000000 max
PASS At 1,2, expected within [0.200000000000000,0.800000000000000], was 0.400000000000000
FAIL At 2,2, expected within [0.200000000000000,0.800000000000000], was 0.800000000000000 max
FAIL At 3,2, expected within [0.600000000000000,0.800000000000000], was 0.800000000000000 max
PASS At 0,3, expected within [0.398000000000000,0.402000000000000], was 0.400000000000000
FAIL At 1,3, expected within [0.400000000000000,0.800000000000000], was 0.400000000000000 min
FAIL At 2,3, expected within [0.400000000000000,0.800000000000000], was 0.800000000000000 max
PASS At 3,3, expected within [0.798000000000000,0.802000000000000], was 0.800000000000000


Appears to be a test error:
Message says &quot;within [0.2, 0.6]&quot; which appears to indicate closed interval.
The test fails fails for 0.2 because it tests for open interval. It&apos;s unclear why wouldn&apos;t the endpoints be ok.

     const text = `At ${xx},${yy}, expected within [${eMin.toFixed(15)},${eMax.toFixed(15)}], was ${was.toFixed(15)}`
     if (was &lt;= eMin || was &gt;= eMax) {
         func = testFailed;
     }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792881</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-13 01:16:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/83044143&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>