mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
[remote] use CommandBufferDescriptor alias from remote-types
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
1 parent
dc532e59b3
commit
4d776252d9
1 file changed
+3
-3
@@ -1,6 +1,6 @@
|
||||
use wgpu_core::Label;
|
||||
use wgpu_core_remote_types::encoders::{
|
||||
CommandEncoderCommand, DebugCommand, TexelCopyBufferInfo, TexelCopyTextureInfo,
|
||||
CommandBufferDescriptor, CommandEncoderCommand, DebugCommand, TexelCopyBufferInfo,
|
||||
TexelCopyTextureInfo,
|
||||
};
|
||||
use wgt::{BufferAddress, Extent3d, ImageSubresourceRange};
|
||||
|
||||
@@ -20,7 +20,7 @@ impl Global {
|
||||
pub fn command_encoder_finish(
|
||||
&self,
|
||||
encoder_id: CommandEncoderId,
|
||||
desc: &wgt::CommandBufferDescriptor<Label>,
|
||||
desc: &CommandBufferDescriptor,
|
||||
id_in: id::CommandBufferId,
|
||||
) {
|
||||
let mut hub = self.hub.borrow_mut();
|
||||
|
||||
Reference in new issue
Block a user