From 9abd9f9449f81fffb2b39d4822f34608c5aa9f9a Mon Sep 17 00:00:00 2001 From: Andrea Nardi Date: Fri, 24 Jul 2020 14:59:40 +0200 Subject: [PATCH] [rs] Made RenderBundleEncoder derive Debug Signed-off-by: Andrea Nardi --- wgpu/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index ceb96e5a2e..1094dffb9b 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,