mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 23:11:01 +01:00
wgpu: Make CommandBuffer not shared/clonable
This commit is contained in:
1 parent
aaf52e93d9
commit
1bef4ff193
2 files changed
+2
-2
No files matched your search
@@ -90,7 +90,7 @@ dyn_type!(pub ref struct DynPipelineCache(dyn PipelineCacheInterface));
|
||||
dyn_type!(pub mut struct DynCommandEncoder(dyn CommandEncoderInterface));
|
||||
dyn_type!(pub mut struct DynComputePass(dyn ComputePassInterface));
|
||||
dyn_type!(pub mut struct DynRenderPass(dyn RenderPassInterface));
|
||||
dyn_type!(pub ref struct DynCommandBuffer(dyn CommandBufferInterface));
|
||||
dyn_type!(pub mut struct DynCommandBuffer(dyn CommandBufferInterface));
|
||||
dyn_type!(pub mut struct DynRenderBundleEncoder(dyn RenderBundleEncoderInterface));
|
||||
dyn_type!(pub ref struct DynRenderBundle(dyn RenderBundleInterface));
|
||||
dyn_type!(pub ref struct DynSurface(dyn SurfaceInterface));
|
||||
|
||||
@@ -884,7 +884,7 @@ dispatch_types! {ref type DispatchPipelineCache: PipelineCacheInterface = CorePi
|
||||
dispatch_types! {mut type DispatchCommandEncoder: CommandEncoderInterface = CoreCommandEncoder, WebCommandEncoder, DynCommandEncoder}
|
||||
dispatch_types! {mut type DispatchComputePass: ComputePassInterface = CoreComputePass, WebComputePassEncoder, DynComputePass}
|
||||
dispatch_types! {mut type DispatchRenderPass: RenderPassInterface = CoreRenderPass, WebRenderPassEncoder, DynRenderPass}
|
||||
dispatch_types! {ref type DispatchCommandBuffer: CommandBufferInterface = CoreCommandBuffer, WebCommandBuffer, DynCommandBuffer}
|
||||
dispatch_types! {mut type DispatchCommandBuffer: CommandBufferInterface = CoreCommandBuffer, WebCommandBuffer, DynCommandBuffer}
|
||||
dispatch_types! {mut type DispatchRenderBundleEncoder: RenderBundleEncoderInterface = CoreRenderBundleEncoder, WebRenderBundleEncoder, DynRenderBundleEncoder}
|
||||
dispatch_types! {ref type DispatchRenderBundle: RenderBundleInterface = CoreRenderBundle, WebRenderBundle, DynRenderBundle}
|
||||
dispatch_types! {ref type DispatchSurface: SurfaceInterface = CoreSurface, WebSurface, DynSurface}
|
||||
|
||||
Reference in new issue
Block a user