Skip to content

fix(core): Enable shader and pipeline caching by default#2465

Open
ibgreen wants to merge 7 commits intomasterfrom
codex/update-device.defaultprops-defaults
Open

fix(core): Enable shader and pipeline caching by default#2465
ibgreen wants to merge 7 commits intomasterfrom
codex/update-device.defaultprops-defaults

Conversation

@ibgreen
Copy link
Collaborator

@ibgreen ibgreen commented Nov 17, 2025

Summary

  • set Device.defaultProps to enable shader and pipeline caching by default
  • The tests failed because we ended up sharing uniforms/bindings/parameters
  • This PR runs cleanly, but bakes parameters into WebGLRenderPipeline which should not be needed.

Testing

  • n/a

@ibgreen ibgreen changed the title Enable shader and pipeline caching by default fix(core): Enable shader and pipeline caching by default Nov 17, 2025
@juneidy
Copy link

juneidy commented Dec 4, 2025

I have noticed a severe performance degradation after upgrading from deck.gl 9.0.x to 9.2.2 and highly suspect that this is the cause. A screenshot of performance profile below:

image

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.

3 participants