summaryrefslogtreecommitdiff
path: root/extensions/webgpu/buffer.rs
diff options
context:
space:
mode:
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>>();