Skip to content

Conversation

@hrydgard
Copy link
Owner

This is some old logic that I don't think actually makes sense.

It's better to finish rendering the frame and have the texture ready for the next one, without wasting CPU. Even if we have a set frametime budget, it's too costly to waste it waiting for a single texture.

However, if the user set their texture load speed to "Instant", that means they never want to see any original textures ever. So in that case, we do still wait.

Fixes #20519

… be finished

It's better to finish rendering the frame and have the texture ready for
the next one, without wasting CPU.

However, if the user set their texture load speed to "Instant", that
means they never want to see any original textures. So in that case, we
do still wait.

Fixes #20519
@hrydgard hrydgard added this to the v1.19.2 milestone Jun 13, 2025
@hrydgard hrydgard merged commit 8dced03 into master Jun 13, 2025
21 checks passed
@hrydgard hrydgard deleted the texture-replacement-perf branch June 13, 2025 22:03
hrydgard added a commit that referenced this pull request Jun 15, 2025
Replacement textures: Don't spend frame time waiting for a texture to be finished
hrydgard added a commit that referenced this pull request Jun 15, 2025
Replacement textures: Don't spend frame time waiting for a texture to be finished
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.

Texture replacement: Unexpected performance loss in Tekken 6

2 participants