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

Increase the size of the uniform set cache to 4096 to avoid cache thrashing from projects with high numbers of unique textures #100001

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

clayjohn
Copy link
Member

@clayjohn clayjohn commented Dec 4, 2024

Fixes the part of the performance regression that I was able to reproduce in #99420. More investigation is needed to find out why the OP is still seeing a performance regression.

CC @stuartcarnie

@clayjohn clayjohn added this to the 4.4 milestone Dec 4, 2024
@clayjohn clayjohn requested a review from a team as a code owner December 4, 2024 01:26
Copy link
Contributor

@stuartcarnie stuartcarnie left a comment

Choose a reason for hiding this comment

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

LGTM

Looks like CI is complaining that the XML docs need the default value to match the code.

@clayjohn
Copy link
Member Author

clayjohn commented Dec 4, 2024

LGTM

Looks like CI is complaining that the XML docs need the default value to match the code.

Oops, forgot to run doctool in my rush to claim 100001

Copy link
Contributor

@Repiteo Repiteo left a comment

Choose a reason for hiding this comment

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

Good to go once the doc fixes are in

…ashing from projects with high numbers of unique textures.
@clayjohn clayjohn force-pushed the rd-uniform-set-cache branch from 8049b2e to 2535423 Compare December 5, 2024 20:01
@clayjohn clayjohn requested a review from a team as a code owner December 5, 2024 20:01
@clayjohn
Copy link
Member Author

clayjohn commented Dec 5, 2024

Should be good now!

@Repiteo Repiteo merged commit ef0d1e0 into godotengine:master Dec 10, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 10, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants