From 3c51fc05b5fbcc475f4a1bd3ff0ff7d350428af9 Mon Sep 17 00:00:00 2001 From: sagudev <16504129+sagudev@users.noreply.github.com> Date: Wed, 8 Jul 2026 06:09:04 +0200 Subject: [PATCH] remove stale profiling scopes Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --- wgpu-core/src/device/global.rs | 6 ------ wgpu-core/src/device/resource.rs | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/wgpu-core/src/device/global.rs b/wgpu-core/src/device/global.rs index dde85356a..3d0e2ee08 100644 --- a/wgpu-core/src/device/global.rs +++ b/wgpu-core/src/device/global.rs @@ -269,8 +269,6 @@ impl Global { initial_state: wgt::TextureUses, id_in: Option, ) -> (id::TextureId, Option) { - profiling::scope!("Device::create_texture_from_hal"); - let hub = &self.hub; let fid = hub.textures.prepare(id_in); @@ -297,8 +295,6 @@ impl Global { desc: &resource::BufferDescriptor, id_in: Option, ) -> (id::BufferId, Option) { - profiling::scope!("Device::create_buffer"); - let hub = &self.hub; let fid = hub.buffers.prepare(id_in); @@ -669,8 +665,6 @@ impl Global { desc: &wgt::CommandEncoderDescriptor