Skip to content

Fix/fes warnings glsl keywords 9038 - #9122

Open
skyash-dev wants to merge 3 commits into
processing:mainfrom
skyash-dev:fix/fes-warnings-glsl-keywords-9038
Open

Fix/fes warnings glsl keywords 9038#9122
skyash-dev wants to merge 3 commits into
processing:mainfrom
skyash-dev:fix/fes-warnings-glsl-keywords-9038

Conversation

@skyash-dev

@skyash-dev skyash-dev commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Resolves #9038

Changes:

  1. walk through ast and check for isStrandsBuildersCall.
  2. add callback body ranges to strandsBodyRanges using recordCallbackBody.
  3. find if node isInsideStrands.
  4. include insideStrands in variables and functions of userDefinitions.
  5. warn when builtInGLSLFunctions keywords used insideStrands.
  6. added tests to test/unit/core/sketch_overrides.js.

PR Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[p5.js 2.0+ Bug Report]: Should not emit FES warnings on GLSL keywords outside of p5.strands

1 participant