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

Add get_mapped_range_as_array_buffer which - on wasm WebGPU builds - avoids copying mapped data into wasm heap (#4042) #4103

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

ryankaplan
Copy link
Contributor

This was originally landed in trunk here: 014ae3f

This PR is for a patch release :-)

Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good minus changelog nit.

Will do the patch release after #4106 lands

CHANGELOG.md Outdated
@@ -92,6 +92,7 @@ By @fornwall in [#3904](https://github.com/gfx-rs/wgpu/pull/3904) and [#3905](ht

- Empty scissor rects are allowed now, matching the specification. by @PJB3005 in [#3863](https://github.com/gfx-rs/wgpu/pull/3863).
- Add back components info to `TextureFormat`s. By @teoxoy in [#3843](https://github.com/gfx-rs/wgpu/pull/3843).
- Add `get_mapped_range_as_array_buffer` for faster buffer read-backs in wasm builds. By @ryankaplan in [#4042] (https://github.com/gfx-rs/wgpu/pull/4042).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be added to a 0.17.1 changelog

Copy link
Contributor Author

@ryankaplan ryankaplan Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh oops, I realize now that this should not have gone in 0.17. Moved to a section that I created for 0.17.1.

…avoids copying mapped data into wasm heap (gfx-rs#4042)

Co-authored-by: Ryan Kaplan <[email protected]>
CHANGELOG.md Show resolved Hide resolved
@ryankaplan
Copy link
Contributor Author

Oh, oops! I forgot to re-request review. I just did that.

@cwfitzgerald cwfitzgerald merged commit 8c89111 into gfx-rs:v0.17 Sep 5, 2023
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.

2 participants