diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index ebc78a7a47..ced35f4c5a 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -164,7 +164,7 @@ trait Context: Debug + Send + Sized + Sync { type ComputePassId: Debug + ComputePassInner; type RenderPassId: Debug + RenderPassInner; type CommandBufferId: Debug + Send + Sync; - type RenderBundleEncoderId: RenderInner; + type RenderBundleEncoderId: Debug + RenderInner; type RenderBundleId: Debug + Send + Sync + 'static; type SurfaceId: Debug + Send + Sync + 'static; type SwapChainId: Debug + Send + Sync + 'static; @@ -757,6 +757,7 @@ pub struct ComputePass<'a> { /// can be executed onto a [`CommandEncoder`] using [`RenderPass::execute_bundles`]. /// /// Executing a [`RenderBundle`] is often more efficient then issuing the underlying commands manually. +#[derive(Debug)] pub struct RenderBundleEncoder<'a> { context: Arc, id: ::RenderBundleEncoderId,