Description
Just like ComputePass before, we now take ownership of all ingoing resources to a RenderPass right away. We also take ownership of the parent encoder, making it possible to convert RenderPass<'a>->RenderPass<'static> (as opt-in)
TODO:
[ ] still missing a test for command encoder getting locked
[ ] formulate out changelog
[ ] rebase to latest trunk
Testing
New ownership tests added (very similar to what we added for compute pass previously)
Checklist
[x] Run cargo fmt.
[x] Run cargo clippy. If applicable, add:
[ ] --target wasm32-unknown-unknown
[ ] --target wasm32-unknown-emscripten
[x] Run cargo xtask test to run tests.
[ ] Add change to CHANGELOG.md. See simple instructions inside file.
Connections
5768
Description Just like ComputePass before, we now take ownership of all ingoing resources to a RenderPass right away. We also take ownership of the parent encoder, making it possible to convert
RenderPass<'a>
->RenderPass<'static>
(as opt-in)TODO:
Testing New ownership tests added (very similar to what we added for compute pass previously)
Checklist
cargo fmt
.cargo clippy
. If applicable, add:--target wasm32-unknown-unknown
--target wasm32-unknown-emscripten
cargo xtask test
to run tests.CHANGELOG.md
. See simple instructions inside file.