Bug 299364
| Summary: | override silently breaks WGSL shaders and prevents shader compilation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | douglas.lilliequist |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Major | ||
| Priority: | P2 | ||
| Version: | Safari 26 | ||
| Hardware: | All | ||
| OS: | macOS 26 | ||
douglas.lilliequist
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
*** This bug has been marked as a duplicate of bug 299363 ***