Repository navigation
refactor(extensions): pass PathStyle injections directly to ShaderPlugins - #11049
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
[Low impact] This PR appears safe to merge. Summary
No actionable issues found. Tests were not run during this review. Reviews (1) · Last reviewed commit: "refactor(extensions): pass PathStyle inj..." · Reviewed by Greptile |
Background
Picking and shadows already use ShaderPlugins on master. PathStyle still wraps GLSL snippets in legacy
injectobjects and merges them before passing them to its plugins. The snippets can feed the plugins directly.Change List
Verified with lint and all 27 PathStyle headless tests.
Note
Low Risk
Refactoring only changes internal shader object composition without altering shader source, assembly order, or runtime behavior.
Overview
Refactors GLSL shader injection handling in
PathStyleExtensionby removing legacy shader wrapper objects and_mergeShaders. Injection mappings inshaders.glsl.tsare now exported directly as flat dictionaries rather than nested insideinjectproperties.PathStyleExtensionnow combines GLSL injections via object spreading before forwarding them togetPathStylePluginandgetSDFDashPlugin. Associated unit tests are updated to reference the new injection exports directly.Reviewed by Cursor Bugbot for commit b251b4f. Bugbot is set up for automated code reviews on this repo. Configure here.