mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-04-14 13:06:34 +00:00
Remove MaintainBase
(#7508)
This commit is contained in:
parent
3081c4f094
commit
fec411cf2d
@ -40,6 +40,12 @@ Bottom level categories:
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Changes
|
||||
|
||||
#### General
|
||||
|
||||
- Removed `MaintainBase` in favor of using `PollType`. By @waywardmonkeys in [#7508](https://github.com/gfx-rs/wgpu/pull/7508).
|
||||
|
||||
## v25.0.0 (2025-04-10)
|
||||
|
||||
### Major Features
|
||||
|
@ -74,7 +74,7 @@ static QUEUE_SUBMITTED_CALLBACK_ORDERING: GpuTestConfiguration = GpuTestConfigur
|
||||
});
|
||||
|
||||
// No GPU work is happening at this point, but we want to process callbacks.
|
||||
ctx.async_poll(MaintainBase::Poll).await.unwrap();
|
||||
ctx.async_poll(PollType::Poll).await.unwrap();
|
||||
|
||||
// Extract the ordering out of the arc.
|
||||
let ordering = Arc::into_inner(ordering).unwrap().into_inner();
|
||||
|
@ -33,7 +33,6 @@ pub struct SubmissionIndex {
|
||||
#[cfg(send_sync)]
|
||||
static_assertions::assert_impl_all!(SubmissionIndex: Send, Sync);
|
||||
|
||||
pub use wgt::PollType as MaintainBase;
|
||||
/// Passed to [`Device::poll`] to control how and if it should block.
|
||||
pub type PollType = wgt::PollType<SubmissionIndex>;
|
||||
#[cfg(send_sync)]
|
||||
|
Loading…
Reference in New Issue
Block a user