Skip to content

gpu: Fix up PSO caching and pipeline pre-compile - #271

Merged
squidbus merged 5 commits into
sonicnext-dev:mainfrom
squidbus:pso-cache
Oct 12, 2026
Merged

squidbus merged 5 commits into
sonicnext-dev:mainfrom
squidbus:pso-cache

Conversation

@squidbus

@squidbus squidbus commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator
  • Fix up PSO caching and enable pipeline pre-compile thread code.
    • If you uncomment to define PSO_CACHING, it will output a pso_caching.txt to your game user directory on SDL quit.
    • If you uncomment to define ASYNC_PSO_DEBUG, it will display debug stats for pipeline compiles and cache misses.
  • Remove a bunch of dead, commented-out code we don't need for Unleashed, mainly around mesh stuff.
  • Add a bunch of pipeline infos to cache from playing through multiple stages. Not comprehensive, will need to play through more and add in anything missed.

@hyperbx hyperbx 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.

LGTM

@squidbus
squidbus merged commit 3e47a73 into sonicnext-dev:main Oct 12, 2026
2 of 12 checks passed

This branch was successfully deployed

1 active deployment
external — 154d3303 Deployed Oct 12, 2026 by squidbus via authorize #710
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.

2 participants