<?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>299363</bug_id>
          
          <creation_ts>2025-09-23 03:07:08 -0700</creation_ts>
          <short_desc>override silently breaks WGSL shaders and prevents shader compilation</short_desc>
          <delta_ts>2026-02-25 14:05:42 -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>WebGPU</component>
          <version>Safari 26</version>
          <rep_platform>All</rep_platform>
          <op_sys>macOS 26</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>275010</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>douglas.lilliequist</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mwyrzykowski</cc>
    
    <cc>tzagallo</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2145184</commentid>
    <comment_count>0</comment_count>
    <who name="">douglas.lilliequist</who>
    <bug_when>2025-09-23 03:07:08 -0700</bug_when>
    <thetext>Recently discovered that the following syntax:

override threadCountX: u32 = 4;

prevents the given shader to compile in Safari 26. Works perfectly fine on Google Chrome.

The solution I found was to simply declare the given override to a const...

const threadCountX: u32 = 4;

which is OK, except it would be great to allow the developer to send their own constants for setting thread group sizes etc. without breaking your app.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145271</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-09-23 09:59:40 -0700</bug_when>
    <thetext>*** Bug 299364 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145291</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-23 10:41:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/161182645&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145293</commentid>
    <comment_count>3</comment_count>
    <who name="Mike Wyrzykowski">mwyrzykowski</who>
    <bug_when>2025-09-23 10:46:40 -0700</bug_when>
    <thetext>potentially the same as related to https://gpuweb.github.io/cts/standalone/?debug=1&amp;q=webgpu:api,operation,compute_pipeline,overrides:computed:* which is tracked by https://bugs.webkit.org/show_bug.cgi?id=275010</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145296</commentid>
    <comment_count>4</comment_count>
    <who name="Mike Wyrzykowski">mwyrzykowski</who>
    <bug_when>2025-09-23 11:00:13 -0700</bug_when>
    <thetext>https://gpuweb.github.io/cts/standalone/?q=webgpu:api,operation,compute_pipeline,overrides:workgroup_size:* is similar but doesn&apos;t use default values</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145297</commentid>
    <comment_count>5</comment_count>
    <who name="Mike Wyrzykowski">mwyrzykowski</who>
    <bug_when>2025-09-23 11:01:29 -0700</bug_when>
    <thetext>It looks like we are failing when default values are used in overrides passed to `@workgroupSize`</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2184941</commentid>
    <comment_count>6</comment_count>
    <who name="Tadeu Zagallo">tzagallo</who>
    <bug_when>2026-02-25 14:05:42 -0800</bug_when>
    <thetext>I&apos;m marking it as a dupe of https://bugs.webkit.org/show_bug.cgi?id=275010, but please let us know if the issue isn&apos;t fixed.

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

    </bug>

</bugzilla>