<?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>233405</bug_id>
          
          <creation_ts>2021-11-20 22:10:00 -0800</creation_ts>
          <short_desc>Link Error: Internal error…Metal backend</short_desc>
          <delta_ts>2021-11-22 23:58:37 -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>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 15</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>229378</dup_id>
          
          <bug_file_loc>http://donw.io/post/sphere-indexing-2/</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="Garett Bass">garettbass</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>jonlee</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>1817171</commentid>
    <comment_count>0</comment_count>
    <who name="Garett Bass">garettbass</who>
    <bug_when>2021-11-20 22:10:00 -0800</bug_when>
    <thetext>http://donw.io/post/sphere-indexing-2/

The above site displays the following message instead of rendering WebGL:

“Status: Errors
Link Error: Internal error compiling shader with Metal backend.
Please submit this shader or website as a bug to https://bugs.webkit.org”

iOS 15.1 iPad Pro (11-inch) (2nd generation)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1817373</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-11-22 18:10:37 -0800</bug_when>
    <thetext>&lt;rdar://problem/85687082&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1817400</commentid>
    <comment_count>2</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-11-22 23:58:37 -0800</bug_when>
    <thetext>Thanks for the report.
You can most likely work around this by changing the function name &quot;and&quot; to something else, like &quot;myand&quot;:

bool and(int x, int y)
{
	return mod(float(x), exp2(float(y))) != 0.0;
}

The fix will be shipped in a future update.

*** This bug has been marked as a duplicate of bug 229378 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>