mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
remove unused RenderBundleScope.query_sets
This commit is contained in:
parent
f19217479d
commit
14170fd963
@ -390,11 +390,6 @@ impl RenderBundleEncoder {
|
||||
.render_pipelines
|
||||
.write()
|
||||
.set_size(indices.render_pipelines.size());
|
||||
state
|
||||
.trackers
|
||||
.query_sets
|
||||
.write()
|
||||
.set_size(indices.query_sets.size());
|
||||
|
||||
let base = &self.base;
|
||||
|
||||
|
@ -140,7 +140,6 @@ define_lock_ranks! {
|
||||
rank RENDER_BUNDLE_SCOPE_TEXTURES "RenderBundleScope::textures" followed by { }
|
||||
rank RENDER_BUNDLE_SCOPE_BIND_GROUPS "RenderBundleScope::bind_groups" followed by { }
|
||||
rank RENDER_BUNDLE_SCOPE_RENDER_PIPELINES "RenderBundleScope::render_pipelines" followed by { }
|
||||
rank RENDER_BUNDLE_SCOPE_QUERY_SETS "RenderBundleScope::query_sets" followed by { }
|
||||
rank RESOURCE_POOL_INNER "ResourcePool::inner" followed by { }
|
||||
rank SHARED_TRACKER_INDEX_ALLOCATOR_INNER "SharedTrackerIndexAllocator::inner" followed by { }
|
||||
rank STATELESS_BIND_GROUP_STATE_RESOURCES "StatelessBindGroupState::resources" followed by { }
|
||||
|
@ -459,7 +459,6 @@ pub(crate) struct RenderBundleScope<A: HalApi> {
|
||||
// Don't need to track views and samplers, they are never used directly, only by bind groups.
|
||||
pub bind_groups: RwLock<StatelessTracker<binding_model::BindGroup<A>>>,
|
||||
pub render_pipelines: RwLock<StatelessTracker<pipeline::RenderPipeline<A>>>,
|
||||
pub query_sets: RwLock<StatelessTracker<resource::QuerySet<A>>>,
|
||||
}
|
||||
|
||||
impl<A: HalApi> RenderBundleScope<A> {
|
||||
@ -482,10 +481,6 @@ impl<A: HalApi> RenderBundleScope<A> {
|
||||
rank::RENDER_BUNDLE_SCOPE_RENDER_PIPELINES,
|
||||
StatelessTracker::new(),
|
||||
),
|
||||
query_sets: RwLock::new(
|
||||
rank::RENDER_BUNDLE_SCOPE_QUERY_SETS,
|
||||
StatelessTracker::new(),
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user