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

rsx: Optimize some imaging operations #7260

Merged
merged 2 commits into from Jan 16, 2020
Merged

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Jan 16, 2020

There are a lot of redundant imaging operations that can be collapsed together and combined into one step. Discovered this bottleneck when reviewing #6341

It seems OGL is the most affected, I was able to gain about 75% performance improvement at 1440p on PDF (Internal res becomes 5120x2880 for that title as it uses 4x supersampling). Doesn't seem to do much for vulkan which is already very fast in that test, but I suppose it couldn't hurt to avoid doing useless work.

Fixes #6341

- Avoid double transfers where a transfer to a temp image is done
without scaling and then a secondary transfer follows. Combines the two
steps into one whenever possible which can significantly alleviate
bandwidth problems at higher resolutions. Significant speedup, upto 90%
in some cases (PDF, PDF2)
- Adds the same optimization/simplification steps to complex image
transfer routines. Whenever possible, multi-step transfers are collapsed
into a single operation.
@kd-11 kd-11 changed the title [TESTERS NEEDED] rsx: Optimize some imaging operations rsx: Optimize some imaging operations Jan 16, 2020
@kd-11 kd-11 merged commit 9b34f00 into RPCS3:master Jan 16, 2020
@mspass
Copy link

mspass commented Jan 22, 2020

this pr broke E.X Troopers (OpenGL), sound and inputs work but with black screen, it was working properly on the previous build v0.0.8-9386.

@kd-11
Copy link
Contributor Author

kd-11 commented Jan 22, 2020

Open a proper bug report and attach RSX capture files.

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

Successfully merging this pull request may close these issues.

performance lost in Project DIVA F & F 2nd
2 participants