diff --git a/wgpu-core/src/command/bundle.rs b/wgpu-core/src/command/bundle.rs index 20ff40efe..6cf692025 100644 --- a/wgpu-core/src/command/bundle.rs +++ b/wgpu-core/src/command/bundle.rs @@ -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; diff --git a/wgpu-core/src/lock/rank.rs b/wgpu-core/src/lock/rank.rs index f960b3c02..f109fe1a8 100644 --- a/wgpu-core/src/lock/rank.rs +++ b/wgpu-core/src/lock/rank.rs @@ -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 { } diff --git a/wgpu-core/src/track/mod.rs b/wgpu-core/src/track/mod.rs index 5fcebb578..5f6fb1a18 100644 --- a/wgpu-core/src/track/mod.rs +++ b/wgpu-core/src/track/mod.rs @@ -459,7 +459,6 @@ pub(crate) struct RenderBundleScope { // Don't need to track views and samplers, they are never used directly, only by bind groups. pub bind_groups: RwLock>>, pub render_pipelines: RwLock>>, - pub query_sets: RwLock>>, } impl RenderBundleScope { @@ -482,10 +481,6 @@ impl RenderBundleScope { rank::RENDER_BUNDLE_SCOPE_RENDER_PIPELINES, StatelessTracker::new(), ), - query_sets: RwLock::new( - rank::RENDER_BUNDLE_SCOPE_QUERY_SETS, - StatelessTracker::new(), - ), } }