Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertex shader runtime cache #1828

merged 4 commits into from Feb 8, 2020


Copy link

NZJenkins commented Feb 8, 2020

HLSL compilation is expensive and can cause stutter

This PR adds a runtime shader cache, to save compiling identical shaders more than once

Shaders are compiled async, meaning games that create shaders before they are used should have a faster boot e.g. JSRF

Improves performance in Azurik which currently repeatedly invokes shader compilation

Copy link

LukeUsher left a comment

This PR brings a dramatic performance increase on my laptop, especially during the early boot of games, great work.

@LukeUsher LukeUsher merged commit 51d5759 into Cxbx-Reloaded:develop Feb 8, 2020
3 checks passed
3 checks passed
Cxbx-Reloaded.Cxbx-Reloaded Build #20200208.1 succeeded
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.