<?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>280799</bug_id>
          
          <creation_ts>2024-10-02 19:10:17 -0700</creation_ts>
          <short_desc>noclip.website appears broken in Safari 18</short_desc>
          <delta_ts>2024-11-18 12:00:00 -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>Safari 18</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=274137</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="Jasper St. Pierre">jstpierre</reporter>
          <assigned_to name="Mike Wyrzykowski">mwyrzykowski</assigned_to>
          <cc>djg</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>2065018</commentid>
    <comment_count>0</comment_count>
    <who name="Jasper St. Pierre">jstpierre</who>
    <bug_when>2024-10-02 19:10:17 -0700</bug_when>
    <thetext>Visiting https://noclip.website/#mkwii/farm_course , I see the contents blink in for one frame, and then the frame goes black. I do not see the same behavior in Chrome, or in Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2065965</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2024-10-07 14:36:27 -0700</bug_when>
    <thetext>It appears that the associated bug which was filed against Chromium, crbug.com/355605685 , slipped into the latest iOS release.

Is there any chance of cherry-picking Quyen&apos;s fix for the bug, https://chromium-review.googlesource.com/c/angle/angle/+/5741121 , into WebKit&apos;s Safari 18 branch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066021</commentid>
    <comment_count>2</comment_count>
    <who name="Jasper St. Pierre">jstpierre</who>
    <bug_when>2024-10-07 16:33:07 -0700</bug_when>
    <thetext>Are we convinced this is the same bug? That bug appears to be related to changing gl.TEXTURE_MAX_LEVEL/gl.TEXTURE_BASE_LEVEL, but I don&apos;t do that in my code; I use gl.texStorage2D (or relevant) for all texture allocation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066757</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-10-09 19:11:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/137643297&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066994</commentid>
    <comment_count>4</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2024-10-10 14:02:45 -0700</bug_when>
    <thetext>I&apos;m not sure - I thought that bug was mentioned as the culprit in the WebGL Matrix chat room.

Can a bisect be run against WebKit to see when this regressed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2067146</commentid>
    <comment_count>5</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2024-10-11 00:51:53 -0700</bug_when>
    <thetext>Resizing the window or clicking vigorously flashes the content.
Commenting out InvalidateFramebuffer fixes it.

Likely cause bug 274137</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2067514</commentid>
    <comment_count>6</comment_count>
    <who name="Jasper St. Pierre">jstpierre</who>
    <bug_when>2024-10-12 10:42:09 -0700</bug_when>
    <thetext>Thank you. I&apos;ve added a workaround for now to disable use of invalidateFramebuffer when UNMASKED_VENDOR says it is from &quot;Apple Inc.&quot;.

To continue to debug, if you run this in the JS Console:

main.viewer.gfxDevice._invalidateFramebufferBroken = false

Then the screen should go black again.

For reference, my usage of gl.invalidateFramebuffer here is for the same reason: trying to optimize MSAA resolves, since WebGL lacks an equivalent to EXT_multisampled_render_to_texture.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070392</commentid>
    <comment_count>7</comment_count>
    <who name="Mike Wyrzykowski">mwyrzykowski</who>
    <bug_when>2024-10-24 11:15:53 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/35683</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2072679</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-11-04 16:43:34 -0800</bug_when>
    <thetext>Committed 286127@main (2aa166d7c00b): &lt;https://commits.webkit.org/286127@main&gt;

Reviewed commits have been landed. Closing PR #35683 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2075892</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-11-18 12:00:00 -0800</bug_when>
    <thetext>Committed 283286.488@safari-7620-branch (d2944cc2b525): &lt;https://commits.webkit.org/283286.488@safari-7620-branch&gt;

Reviewed commits have been landed. Closing PR #2298 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>