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

GPU: Migrate buffers on GPU project, pre-emptively flush device local mappings #6794

Merged
merged 15 commits into from
May 19, 2024

Commits on May 10, 2024

  1. GPU: Migrate buffers on GPU project, pre-emptively flush device local…

    … mappings
    
    Essentially retreading Ryujinx#4540, but it's on the GPU project now instead of the backend. This allows us to have a lot more control + knowledge of where the buffer backing has been changed and allows us to pre-emptively flush pages to host memory for quicker readback. It will allow us to do other stuff in the future, but we'll get there when we get there.
    
    Performance greatly improved in Hyrule Warriors: Age of Calamity. Performance notably improved in TOTK (average). Performance for BOTW restored to how it was before Ryujinx#4911, perhaps a bit better.
    
    - Rewrites a bunch of buffer migration stuff. Might want to tighten up how dispose stuff works.
    - Fixed an issue where the copy for texture pre-flush would happen _after_ the syncpoint.
    
    TODO: remove a page from pre-flush if it isn't flushed after a certain number of copies.
    riperiperi committed May 10, 2024
    Configuration menu
    Copy the full SHA
    c432421 View commit details
    Browse the repository at this point in the history
  2. Add copy deactivation

    riperiperi committed May 10, 2024
    Configuration menu
    Copy the full SHA
    5c98f51 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e8882d5 View commit details
    Browse the repository at this point in the history
  4. Remove logging

    riperiperi committed May 10, 2024
    Configuration menu
    Copy the full SHA
    b671c32 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2024

  1. Fix format issues (maybe)

    riperiperi committed May 11, 2024
    Configuration menu
    Copy the full SHA
    5bc01d7 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2024

  1. Configuration menu
    Copy the full SHA
    03ee8f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7ea369 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Fix typo

    riperiperi committed May 13, 2024
    Configuration menu
    Copy the full SHA
    72e5166 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d0097f View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. General cleanup, OGL fix

    riperiperi committed May 14, 2024
    Configuration menu
    Copy the full SHA
    7234f37 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. BufferPreFlush comments

    riperiperi committed May 17, 2024
    Configuration menu
    Copy the full SHA
    0e11ee3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c075f4c View commit details
    Browse the repository at this point in the history
  3. Add an extra precaution to BufferMigration

    This is very unlikely, but it's important to cover loose ends like this.
    riperiperi committed May 17, 2024
    Configuration menu
    Copy the full SHA
    2779964 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2024

  1. Address some feedback

    riperiperi committed May 18, 2024
    Configuration menu
    Copy the full SHA
    5394bbc View commit details
    Browse the repository at this point in the history
  2. Docs

    riperiperi committed May 18, 2024
    Configuration menu
    Copy the full SHA
    fd529f0 View commit details
    Browse the repository at this point in the history