Bug 299364

Summary: override silently breaks WGSL shaders and prevents shader compilation
Product: WebKit Reporter: douglas.lilliequist
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major    
Priority: P2    
Version: Safari 26   
Hardware: All   
OS: macOS 26   

douglas.lilliequist
Reported 2025-09-23 03:07:41 PDT
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.
Attachments
Alexey Proskuryakov
Comment 1 2025-09-23 09:59:40 PDT
*** This bug has been marked as a duplicate of bug 299363 ***
Note You need to log in before you can comment on or make changes to this bug.