Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WGSL: suggest removing @ from @diagnostic(…); #6536

Open
ErichDonGubler opened this issue Nov 13, 2024 · 0 comments
Open

WGSL: suggest removing @ from @diagnostic(…); #6536

ErichDonGubler opened this issue Nov 13, 2024 · 0 comments
Labels
area: naga front-end good first issue Good for newcomers kind: diagnostics Error message should be better lang: WGSL WebGPU Shading Language naga Shader Translator

Comments

@ErichDonGubler
Copy link
Member

When a user writes the following in WGSL:

@diagnostic(off, derivative_uniformity);

// …

It would be nice to suggest that they might have success if they remove the @.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: naga front-end good first issue Good for newcomers kind: diagnostics Error message should be better lang: WGSL WebGPU Shading Language naga Shader Translator
Projects
Status: Todo
Development

No branches or pull requests

1 participant