From 17c63f3a8316dd10b1f975d708f7e6378564aad6 Mon Sep 17 00:00:00 2001 From: sagudev <16504129+sagudev@users.noreply.github.com> Date: Wed, 26 Aug 2026 19:32:16 +0200 Subject: [PATCH] Remove ContextCore from CoreCommandBuffer Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --- wgpu/src/backend/wgpu_core.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/wgpu/src/backend/wgpu_core.rs b/wgpu/src/backend/wgpu_core.rs index f500f0718..e0f27a729 100644 --- a/wgpu/src/backend/wgpu_core.rs +++ b/wgpu/src/backend/wgpu_core.rs @@ -388,14 +388,12 @@ pub struct CorePipelineCache { } pub struct CoreCommandBuffer { - pub(crate) context: ContextWgpuCore, pub(crate) wgpu_command_buffer: Arc, } impl fmt::Debug for CoreCommandBuffer { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("CoreCommandBuffer") - .field("context", &self.context) .field( "wgpu_command_buffer", &Arc::as_ptr(&self.wgpu_command_buffer), @@ -2097,7 +2095,6 @@ impl dispatch::CommandEncoderInterface for CoreCommandEncoder { let descriptor = wgt::CommandBufferDescriptor::default(); let wgpu_command_buffer = self.wgpu_command_encoder.finish(&descriptor); CoreCommandBuffer { - context: self.context.clone(), wgpu_command_buffer, } .into()