-
Notifications
You must be signed in to change notification settings - Fork 960
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Queue::write_buffer_with (#2777)
* implement Queue::write_buffer_with * address comments * update doc * Fix copy span location Co-authored-by: Connor Fitzgerald <[email protected]>
- Loading branch information
1 parent
0eb6845
commit 5eb09f6
Showing
8 changed files
with
426 additions
and
97 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#[cfg(all(target_arch = "wasm32", not(feature = "webgl")))] | ||
mod web; | ||
#[cfg(all(target_arch = "wasm32", not(feature = "webgl")))] | ||
pub(crate) use web::{BufferMappedRange, Context}; | ||
pub(crate) use web::{BufferMappedRange, Context, QueueWriteBuffer}; | ||
|
||
#[cfg(any(not(target_arch = "wasm32"), feature = "webgl"))] | ||
mod direct; | ||
#[cfg(any(not(target_arch = "wasm32"), feature = "webgl"))] | ||
pub(crate) use direct::{BufferMappedRange, Context}; | ||
pub(crate) use direct::{BufferMappedRange, Context, QueueWriteBuffer}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters