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

[Merged by Bors] - Fix staging buffer required size calculation (fixes #1056) #1509

Closed
wants to merge 1 commit into from

Commits on Mar 4, 2021

  1. Fix staging buffer required size calculation (fixes bevyengine#1056)

    * when doing a full asset copy (resize), prepare_uniform_buffers() is
      now called on all assets rather than just changed ones. This makes
      sure the staging buffer is large enough.
    
    * set_required_staging_buffer_size_to_max() now doesn't overwrite the
      value computed by prepare_uniform_buffers() if the resulting size
      would be smaller.
    
    Co-authored-by: Renato Caldas <[email protected]>
    Co-authored-by: François <[email protected]>
    rmsc and mockersf committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    60427d3 View commit details
    Browse the repository at this point in the history