-
Notifications
You must be signed in to change notification settings - Fork 119
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
False positive: ba
→ by
/be
in wgsl
shaders
#1103
Comments
As there are workarounds for this and this seems fairly specialized of a domain, I wonder if we should leave this to users to take care of. |
I think dealing with just the most common ones is worthwhile, e.g. |
Sorry for the delay, some conferences and other responsibilities have eaten up my time. Looking at those search results, I'm seeing it used a lot in conjunction with other two letter words as you pointed out ( On a related note, #1079 suggests a min-word-length to help with false positives like this. This can currently be done via a regex. |
The issue appears in iced with
wgsl
shaders here and here.In general, using any sequence of
r
,g
,b
,a
up to ~4 characters appears commonly in shaders with swizzling.The text was updated successfully, but these errors were encountered: