-
Notifications
You must be signed in to change notification settings - Fork 963
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reintroduce computepass->encoder lifetime constraint and make it opt-…
…out via `wgpu::ComputePass::forget_lifetime` (#5768) * Reintroduce computepass->encoder lifetime constraint and make it opt-out via `wgpu::ComputePass::make_static` * improve comments based on review feedback * use the same lifetime name for all usages of `ComputePass<'encoder>` * comment improvement that I missed earlier * more review based comment improvements * use suggested zero-overhead lifetime removal * rename make_static to forge_lifetime * missed comma
- Loading branch information
Showing
4 changed files
with
113 additions
and
49 deletions.
There are no files selected for viewing
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