summaryrefslogtreecommitdiff
path: root/extensions/webgpu/buffer.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-05-08 14:37:42 +0200
committerGitHub <noreply@github.com>2021-05-08 14:37:42 +0200
commitd5f39fd121b8f997dcfb360828f60cee47322ab3 (patch)
tree4eb4880060a861ac6ddfe27e5f62b8bc756b52b5 /extensions/webgpu/buffer.rs
parent4ed1428c3401c9e6dc4d737bd7c9a50840054696 (diff)
cleanup(ops): remove unused ZeroCopyBuf arg-types (#10530)
Diffstat (limited to 'extensions/webgpu/buffer.rs')
-rw-r--r--extensions/webgpu/buffer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/webgpu/buffer.rs b/extensions/webgpu/buffer.rs
index a97e67df3..8e5075d8a 100644
--- a/extensions/webgpu/buffer.rs
+++ b/extensions/webgpu/buffer.rs
@@ -44,7 +44,7 @@ pub struct CreateBufferArgs {
pub fn op_webgpu_create_buffer(
state: &mut OpState,
args: CreateBufferArgs,
- _zero_copy: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<WebGpuResult, AnyError> {
let instance = state.borrow::<super::Instance>();
let device_resource = state
@@ -80,7 +80,7 @@ pub struct BufferGetMapAsyncArgs {
pub async fn op_webgpu_buffer_get_map_async(
state: Rc<RefCell<OpState>>,
args: BufferGetMapAsyncArgs,
- _bufs: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<WebGpuResult, AnyError> {
let (sender, receiver) = oneshot::channel::<Result<(), AnyError>>();