Skip to content

Eliminate GPU readbacks in the DTM Race Driver series. #16715

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

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jan 3, 2023

By using the compat option [BlockTransferAllowCreateFB].

Fixes #16713.

This lets us create a texture on the GPU from the copied bytes, instead of reading it all the way back to the CPU causing costly sync.

Unfortunately I'm not sure exactly why the game does this readback - it might be something debug related like that one readback in Tactics Ogre, or it might be something else that's just not very noticeable? Let's see if we get any complaints about glitches after this is merged.

@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Jan 3, 2023
@hrydgard hrydgard added this to the v1.15.0 milestone Jan 3, 2023
@hrydgard hrydgard merged commit f7916b2 into master Jan 4, 2023
@hrydgard hrydgard deleted the dtm-race-driver-readback branch January 4, 2023 09:13
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.

Toca race driver 2 and toca race driver 3 challenge speed issues
1 participant