Repository navigation
fix(fill-style): Improve accuracy at high zooms - #10633
Merged
Merged
Conversation
Greptile SummaryThe PR improves fill-pattern precision at high zoom by reducing the shader coordinate origin modulo a common pattern frame.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| modules/extensions/src/fill-style/fill-style-extension.ts | Computes and forwards a common pattern frame derived from atlas dimensions and a constant scale. |
| modules/extensions/src/fill-style/shader-module.ts | Reduces the common coordinate origin by the shared pattern period before producing UV uniforms. |
| test/modules/extensions/fill-style.spec.ts | Adds focused WebGL coverage for origin reduction at high zoom and across scale and unit configurations. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Pattern mapping and scale] --> B[Compute common LCM frame]
B --> C[Fill extension state]
C --> D[Fill shader module props]
E[Viewport coordinate origin] --> F[Reduce origin modulo pattern period]
D --> F
F --> G[Higher-precision UV uniforms]
Reviews (5): Last reviewed commit: "fix(fill-style): reduce pattern origin i..." | Re-trigger Greptile
felixpalmer
force-pushed
the
felix/fill-style-origin-full
branch
from
September 2, 2026 10:08
b1d6e6e to
59b7b7a
Compare
This was referenced Sep 2, 2026
Pessimistress
force-pushed
the
felix/fill-style-origin-full
branch
from
September 2, 2026 17:36
ba22abf to
8e20c81
Compare
Pessimistress
force-pushed
the
felix/fill-style-origin-full
branch
from
September 2, 2026 18:00
8e20c81 to
9a6cf80
Compare
Pessimistress
approved these changes
Sep 2, 2026
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For #7600
Background
Improves accuracy at high zooms by removing common multiple from pattern origin
Current behavior
Screen.Recording.2026-09-02.at.11.38.28.mov
Change List
uvCoordinateOriginto improve accuracy