Skip to content

refactor(extensions): name the whole-path dash shader mode - #10649

Merged
chrisgervang merged 31 commits into
masterfrom
codex/path-style-dash-mode-define
Nov 24, 2026
Merged

chrisgervang merged 31 commits into
masterfrom
codex/path-style-dash-mode-define

Conversation

@chrisgervang

@chrisgervang chrisgervang commented Sep 3, 2026 •

Copy link
Copy Markdown
Collaborator

Follow up of #10648

Background

The private shader define HIGH_PRECISION_DASH is named after the deprecated highPrecisionDash option, but it selects dashMode: 'path'.

Change List

  • Rename shader define HIGH_PRECISION_DASH to DASH_MODE_PATH in GLSL and WGSL
  • highPrecisionDash option unchanged; still resolves to path mode
  • Unit tests for segment mode, dashMode: 'path' and the legacy alias

No golden images changed. Verified with yarn build, yarn lint, headless unit tests and the WebGL path render suites.


Note

Low Risk
Low risk internal refactoring of a private shader define with no changes to public APIs or visual output.

Overview
Renames the internal shader define HIGH_PRECISION_DASH to DASH_MODE_PATH across GLSL and WGSL shaders in PathStyleExtension. This aligns the shader variant naming with the modern dashMode: 'path' configuration rather than the deprecated highPrecisionDash option.

Unit tests are updated to assert on DASH_MODE_PATH for both dashMode: 'path' and the legacy highPrecisionDash option.

Reviewed by Cursor Bugbot for commit a39214f. Bugbot is set up for automated code reviews on this repo. Configure here.

@coveralls

coveralls commented Sep 3, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 82.755%. remained the same — codex/path-style-dash-mode-define into master

@greptile-apps

greptile-apps Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; the private define rename is consistent across both shader backends.

Summary

Renames the private whole-path dash define to DASH_MODE_PATH.

  • PathStyle shaders name whole-path dashes with DASH_MODE_PATH.

Reviews (5) · Last reviewed commit: "Merge branch 'codex/path-layer-join-tail..." · Reviewed by Greptile

@chrisgervang
chrisgervang force-pushed the codex/path-style-dash-mode-define branch from 08f2431 to 9abcda0 Compare September 29, 2026 15:15
@chrisgervang chrisgervang added this to the v9.4 patch releases milestone Oct 4, 2026

@ibgreen ibgreen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The define rename is applied consistently in the extension and GLSL shader. The tests exercise the explicit path mode and its legacy alias. I found no blocker.

# Conflicts:
#	test/render/test-cases/path-dash.spec.ts
…tyle-dash-varyings

# Conflicts:
#	modules/extensions/src/path-style/shaders.glsl.ts
#	modules/geo-layers/src/trips-layer/trips-layer.ts
#	modules/geo-layers/src/trips-layer/trips-layer.wgsl.ts
#	test/modules/extensions/path.spec.ts
#	test/modules/geo-layers/trips-layer.spec.ts
…mode-define

# Conflicts:
#	modules/extensions/src/path-style/shaders.glsl.ts

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@ibgreen ibgreen added the chore label Nov 21, 2026

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

Base automatically changed from codex/path-layer-join-tail to master November 24, 2026 22:24
…sh-mode-define

# Conflicts:
#	modules/extensions/src/path-style/shaders.wgsl.ts

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@chrisgervang
chrisgervang added this pull request to the merge queue Nov 24, 2026
Merged via the queue into master with commit 23b9252 Nov 24, 2026
12 checks passed
@chrisgervang
chrisgervang deleted the codex/path-style-dash-mode-define branch November 24, 2026 22:55
athomct pushed a commit to chesapeake-tech/deck.gl that referenced this pull request Nov 25, 2026
visgl#10649 and the rest of the stack merged to master. Keep the master
imports from @math.gl/core/matrix and add this branch's imports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants