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

Use write belt for mesh data gpu upload #1416

Merged
merged 4 commits into from Feb 28, 2023

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Feb 27, 2023

With that all uniform buffer creation runs by the new utility from #1400.
Mesh creation now passes immutable ctx (needed a little bit more RwLock for that).
Simplified FrameGlobalCommandEncoder a and made it have a more strictly checked usage pattern.

Part of #1398

tested raw_mesh example and re_renderer multiview to confirm things still work

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I've added a line to CHANGELOG.md (if this is a big enough change to warrant it)

@Wumpf Wumpf added the 🔺 re_renderer affects re_renderer itself label Feb 27, 2023
@teh-cmc teh-cmc self-requested a review February 28, 2023 07:17
@Wumpf Wumpf merged commit a358b9a into main Feb 28, 2023
@Wumpf Wumpf deleted the andreas/re_renderer/write-belt-for-meshes branch February 28, 2023 08:56
emilk pushed a commit that referenced this pull request Mar 2, 2023
* Mesh renderer now takes a constant ctx
* mesh data upload works now entirely via CpuWriteGpuReadBelt
* simplify frame global uniform buffer handling
* fix calculating wrong size for mesh vertex buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔺 re_renderer affects re_renderer itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants