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

Create a safer variant of BlockTransferAllowCreateFB, enable for FF Type 0 #13530

Merged
merged 1 commit into from
Oct 10, 2020

Conversation

hrydgard
Copy link
Owner

Should give it a considerable boost by avoiding readbacks, see #13464 .

New compat setting is called IntraVRAMBlockTransferAllowCreateFB.

This one only allows intra-VRAM block transfers to happen as copies on-GPU, such as the one this game uses for bloom. Not readbacks to RAM. Good chances to avoid missing stuff that actually requires real readback, if there's any.

…ype 0

Performance improvement by avoiding unnecessary readbacks.

New one is called IntraVRAMBlockTransferAllowCreateFB.

This one only allows intra-VRAM block transfers to happen on-GPU, such as the one this
game uses for bloom. Good chances to avoid missing stuff that actually requires
real readback, if there's any.
@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Oct 10, 2020
@hrydgard hrydgard added this to the v1.11.0 milestone Oct 10, 2020
@hrydgard hrydgard merged commit b3cf097 into master Oct 10, 2020
@hrydgard hrydgard deleted the block-transfer-ff-type-0 branch October 10, 2020 23:00
@Panderner
Copy link
Contributor

Screenshot_2020-10-11-09-00-55-02_2f85358b2198d26f8aca533d68bee793
After this PR it did not improves the performance for this game on lower-end devices. I'm using Realme C2 in OpenGL

@Double-0-seven7
Copy link

Didn't see any improvement either , unless I didn't have it enabled or something.

@hrydgard
Copy link
Owner Author

Okay, seems the readback I got rid of was mostly affecting cutscenes.

I have some more ideas of what might be slowing this down, stay tuned.

@kage2051
Copy link

kage2051 commented Oct 11, 2020

And the game itself crashes upon loading on the latest build from today, but only on GL. Git 894 doesn't suffer from such issue.

@hrydgard
Copy link
Owner Author

Oh yeah, I think I know what that is. I'll fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GE emulation Backend-independent GPU issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants